-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+ Added Ext_fenced_divs to Extensions (default for pandoc Markdown). + Document fenced_divs extension in manual. + Implemented fenced code divs in Markdown reader. + Added test. Closes #168.
- Loading branch information
Showing
5 changed files
with
93 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
``` | ||
% pandoc -t native | ||
:::::::::: warning :::::::::::: | ||
This is the warning! | ||
1. list | ||
2. another | ||
::: {#myid .class key=val} | ||
nested div | ||
::: | ||
::::::::::::::::::::::::::::::: | ||
^D | ||
[Div ("",["warning"],[]) | ||
[Para [Str "This",Space,Str "is",Space,Str "the",Space,Str "warning!"] | ||
,OrderedList (1,Decimal,Period) | ||
[[Plain [Str "list"]] | ||
,[Plain [Str "another"]]] | ||
,Div ("myid",["class"],[("key","val")]) | ||
[Plain [Str "nested",Space,Str "div"]]]] | ||
``` | ||
|
||
``` | ||
% pandoc -t native | ||
foo | ||
::: | ||
bar | ||
^D | ||
[Para [Str "foo",SoftBreak,Str ":::",SoftBreak,Str "bar"]] | ||
``` |