forked from Orc/discount
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make githubtags configurable at runtime for issue Orc#124.
Instead of `./configure.sh --with-github-tags`, specify `-fgithubtags` or `MKD_GITHUBTAGS`. Shows up in `markdown -VV` as `GITHUBTAGS` instead of `GITHUB-TAGS` now.
- Loading branch information
Showing
10 changed files
with
37 additions
and
13 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
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
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
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
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
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
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
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
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,23 @@ | ||
. tests/functions.sh | ||
|
||
title "github tags" | ||
|
||
rc=0 | ||
MARKDOWN_FLAGS= | ||
|
||
SRC='<element-name>content</element-name>' | ||
|
||
try 'github tags disabled by default' \ | ||
"$SRC" \ | ||
'<p><element-name>content</element-name></p>' | ||
|
||
try -fgithubtags 'github tags' \ | ||
"$SRC" \ | ||
'<p><element-name>content</element-name></p>' | ||
|
||
try 'normal tags pass through' \ | ||
'<a>sdf</a>' \ | ||
'<p><a>sdf</a></p>' | ||
|
||
summary $0 | ||
exit $rc |
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