diff options
author | Alex Ivkin <alexivkin@users.noreply.github.com> | 2017-02-15 02:28:02 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-02-15 11:28:02 +0100 |
commit | 93f0a9c2e5664f61610dabb16109525c7b571708 (patch) | |
tree | 530024608aa57cbb9197533723148fee75912862 /test | |
parent | c44a3f61c270525e2736a3b1bfb0b5f3e6271b48 (diff) | |
download | pandoc-93f0a9c2e5664f61610dabb16109525c7b571708.tar.gz |
ZimWiki writer: removed internal formatting from note and table cells, because ZimWiki does not support it (#3446)
Diffstat (limited to 'test')
-rw-r--r-- | test/tables.zimwiki | 46 | ||||
-rw-r--r-- | test/writer.zimwiki | 12 |
2 files changed, 27 insertions, 31 deletions
diff --git a/test/tables.zimwiki b/test/tables.zimwiki index 6da1f7f2c..2757055f6 100644 --- a/test/tables.zimwiki +++ b/test/tables.zimwiki @@ -1,43 +1,43 @@ Simple table with caption: Demonstration of simple table syntax. -| Right|Left | Center |Default| -|------:|:-----|:--------:|-------| -| 12|12 | 12 |12 | -| 123|123 | 123 |123 | -| 1|1 | 1 |1 | +|Right|Left |Center |Default| +|----:|:----|:-----:|-------| +| 12|12 | 12 |12 | +| 123|123 | 123 |123 | +| 1|1 | 1 |1 | Simple table without caption: -| Right|Left | Center |Default| -|------:|:-----|:--------:|-------| -| 12|12 | 12 |12 | -| 123|123 | 123 |123 | -| 1|1 | 1 |1 | +|Right|Left |Center |Default| +|----:|:----|:-----:|-------| +| 12|12 | 12 |12 | +| 123|123 | 123 |123 | +| 1|1 | 1 |1 | Simple table indented two spaces: Demonstration of simple table syntax. -| Right|Left | Center |Default| -|------:|:-----|:--------:|-------| -| 12|12 | 12 |12 | -| 123|123 | 123 |123 | -| 1|1 | 1 |1 | +|Right|Left |Center |Default| +|----:|:----|:-----:|-------| +| 12|12 | 12 |12 | +| 123|123 | 123 |123 | +| 1|1 | 1 |1 | Multiline table with caption: Here’s the caption. It may span multiple lines. -| Centered Header |Left Aligned | Right Aligned|Default aligned | -|:-----------------:|:-------------|--------------:|:------------------------------------------------------| -| First |row | 12.0|Example of a row that spans multiple lines. | -| Second |row | 5.0|Here’s another one. Note the blank line between rows. | +|Centered Header|Left Aligned|Right Aligned|Default aligned | +|:-------------:|:-----------|------------:|:------------------------------------------------------| +| First |row | 12.0|Example of a row that spans multiple lines. | +| Second |row | 5.0|Here’s another one. Note the blank line between rows. | Multiline table without caption: -| Centered Header |Left Aligned | Right Aligned|Default aligned | -|:-----------------:|:-------------|--------------:|:------------------------------------------------------| -| First |row | 12.0|Example of a row that spans multiple lines. | -| Second |row | 5.0|Here’s another one. Note the blank line between rows. | +|Centered Header|Left Aligned|Right Aligned|Default aligned | +|:-------------:|:-----------|------------:|:------------------------------------------------------| +| First |row | 12.0|Example of a row that spans multiple lines. | +| Second |row | 5.0|Here’s another one. Note the blank line between rows. | Table without column headers: diff --git a/test/writer.zimwiki b/test/writer.zimwiki index 848ca955e..7a15bad9d 100644 --- a/test/writer.zimwiki +++ b/test/writer.zimwiki @@ -606,8 +606,7 @@ Here is a movie {{:movie.jpg|movie}} icon. ====== Footnotes ====== -Here is a footnote reference,((Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document. -)) and another.((Here’s the long note. This one contains multiple blocks. +Here is a footnote reference, **{Note:** Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document.**}** and another. **{Note:** Here’s the long note. This one contains multiple blocks. Subsequent blocks are indented to show that they belong to the footnote (as with list items). @@ -615,13 +614,10 @@ Subsequent blocks are indented to show that they belong to the footnote (as with { <code> } ''' -If you want, you can indent every line, but you can also be lazy and just indent the first line of each block. -)) This should //not// be a footnote reference, because it contains a space.[^my note] Here is an inline note.((This is //easier// to type. Inline notes may contain [[http://google.com|links]] and '']'' verbatim characters, as well as [bracketed text]. -)) +If you want, you can indent every line, but you can also be lazy and just indent the first line of each block.**}** This should //not// be a footnote reference, because it contains a space.[^my note] Here is an inline note. **{Note:** This is //easier// to type. Inline notes may contain [[http://google.com|links]] and '']'' verbatim characters, as well as [bracketed text].**}** -> Notes can go in quotes.((In quote. -> )) +> Notes can go in quotes. **{Note:** In quote.**}** - 1. And in list items.((In list.)) + 1. And in list items. **{Note:** In list.**}** This paragraph should not be part of the note, as it is not indented. |