-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added tests for the new "non_existing" options
* Test "11" ensures that non-existing keys are replaced with the key itself when the option is set to "key" (e.g., '\acr{RL}' becomes 'RL'). * Test "12" ensures that non-existing keys are replaced with "??" when the option is set to "??".
- Loading branch information
Showing
6 changed files
with
50 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Package: acronymsdown | ||
Type: Package | ||
Title: Acronyms and Glossaries Support for RMarkdown | ||
Version: 0.8.0 | ||
Version: 0.9.0 | ||
Author: Remy Chaput | ||
Maintainer: remy chaput <[email protected]> | ||
Description: Adds support for list of acronyms (or glossaries) for RMarkdown | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# List Of Acronyms {#acronyms_HEADER_LOA .loa} | ||
|
||
# Introduction {#intro} | ||
|
||
This paragraph mentions RL for the first time. | ||
|
||
And now, in this paragraph, RL is in short form. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
output: | ||
md_document: | ||
pandoc_args: | ||
- !expr acronymsdown::add_filter() | ||
- --wrap=preserve | ||
variant: markdown | ||
acronyms: | ||
non_existing: "key" | ||
--- | ||
|
||
# Introduction {#intro} | ||
|
||
This paragraph mentions \acr{RL} for the first time. | ||
|
||
And now, in this paragraph, \acr{RL} is in short form. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# List Of Acronyms {#acronyms_HEADER_LOA .loa} | ||
|
||
# Introduction {#intro} | ||
|
||
This paragraph mentions ?? for the first time. | ||
|
||
And now, in this paragraph, ?? is in short form. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
output: | ||
md_document: | ||
pandoc_args: | ||
- !expr acronymsdown::add_filter() | ||
- --wrap=preserve | ||
variant: markdown | ||
acronyms: | ||
non_existing: "??" | ||
--- | ||
|
||
# Introduction {#intro} | ||
|
||
This paragraph mentions \acr{RL} for the first time. | ||
|
||
And now, in this paragraph, \acr{RL} is in short form. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters