aboutsummaryrefslogtreecommitdiff
path: root/test/writer.dokuwiki
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-11-04 22:38:14 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2020-11-04 22:38:53 -0800
commitefe74746d881828723d2af79d1097794a21aee54 (patch)
tree99690dc4319bc961f179be1d879d2f582a2adc8e /test/writer.dokuwiki
parent08134388ad94a9652050f416287dbcaaf2962114 (diff)
downloadpandoc-efe74746d881828723d2af79d1097794a21aee54.tar.gz
DokuWiki writer: translate language names for code elements...
...and improve whitespace. Closes #6807.
Diffstat (limited to 'test/writer.dokuwiki')
-rw-r--r--test/writer.dokuwiki11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/writer.dokuwiki b/test/writer.dokuwiki
index 5e6773799..8f8124db7 100644
--- a/test/writer.dokuwiki
+++ b/test/writer.dokuwiki
@@ -56,6 +56,7 @@ sub status {
print "working";
}
</code>
+
A list:
- item one
@@ -87,6 +88,7 @@ sub status {
this code block is indented by one tab
</code>
+
And:
<code>
@@ -95,6 +97,7 @@ And:
These should not be escaped: \$ \\ \> \[ \{
</code>
+
----
====== Lists ======
@@ -277,6 +280,7 @@ Multiple blocks with italics:
<code>
{ orange code block }
</code>
+
> <HTML><p></HTML>orange block quote<HTML></p></HTML>
<HTML></dd></HTML><HTML></dl></HTML>
@@ -343,11 +347,13 @@ This should be a code block, though:
foo
</div>
</code>
+
As should this:
<code>
<div>foo</div>
</code>
+
Now, nested:
foo
@@ -375,6 +381,7 @@ Code block:
<code>
<!-- Comment -->
</code>
+
Just plain comment, with trailing spaces on the line:
<HTML>
@@ -385,6 +392,7 @@ Code:
<code>
<hr />
</code>
+
Hr’s:
<HTML>
@@ -571,6 +579,7 @@ This should [not][] be a link.
<code>
[not]: /url
</code>
+
Foo [[url/|bar]].
Foo [[url/|biz]].
@@ -603,6 +612,7 @@ Auto-links should not occur here: ''%%<http://example.com/>%%''
or here: <http://example.com/>
</code>
+
----
====== Images ======
@@ -626,6 +636,7 @@ Subsequent blocks are indented to show that they belong to the footnote (as with
<code>
{ <code> }
</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].
))