git.iko.soy/typeable/pandoc
on 2.7 help sign in
typeable/pandoc/test/vimwiki-reader.wiki
429 lines 7.1 kB history raw
1= _*implemented*_ =
2= header =
4== header level two ==
6=== header `level` 3 ===
8==== header ~~level~~ four ====
10===== header _*level* 5_ =====
12====== header level 6 ======
14======= not a header ========
16hi== not a header ==
18=== not a header ==
20=== not a header ===-
22not a header:
24=n=
26=== not a header ====
28 == centred header ==
30== header with some `==` in between ==
31== header with some == in between ==
32== header with some ==in between ==
34== emph strong and strikeout ==
36_emph_ *strong*
38*_strong and emph_*
40_*emph and strong*_
42*_emph inside_ strong*
44*strong with _emph_*
46_*strong inside* emph_
48_~~strikeout~~ inside emph_
50~~This is _struck out_ with emph~~
52*not
53strong*
55just two stars: **
57just two underscores: __
59just four ~s: ~~~~
61_not
62%%comment
63emph_
65~~not
66 %%comment
67 %%comment
68strikeout~~
70== horizontal rule ==
72top
73----
74middle
76-------
78not a rule-----
80not a rule (trailing spaces):
81-----
83not a rule (leading spaces):
84 ----
86== comments ==
88%% you can't see me.
90this
91%% secret
92is %% not secret
94== inline code ==
96Here is some `inline code`.
98Just two backticks: ``
100== preformatted text ==
102{{{
103 Tyger! Tyger! burning bright
104 In the forests of the night,
105 What immortal hand or eye
106 Could frame thy fearful symmetry?
107 In what distant deeps or skies
108 Burnt the fire of thine eyes?
109 On what wings dare he aspire?
110 What the hand dare sieze the fire?
111}}}
113=== preformatted text with attributes ===
115 {{{class="python" style="color:blue"
116 for i in range(1, 5):
117 print(i)
118 }}}
120=== empty preformatted text ===
122{{{
123}}}
125== block quotes ==
127 (indentation 4 spaces) This would be a blockquote in Vimwiki. It is not *highlighted* in Vim but
128 (indentation 1 space followed by 1 tab of width 4) could be styled by CSS in HTML. Blockquotes are usually used to quote a
129 (indentation 1 tab of width 4) long piece of text from another source. ~~blah blah~~ :blockquote:
131== external links ==
133[[http://google.com|_Google_ search engine]]
135http://pandoc.org
137ftp://vim.org
139[[http://google.com]]
141[[mailto:info@example.org|email me]]
143mailto:hello@bye.com
145== internal links ==
147[[This is a link]]
149[[This is a link source|Description of the link]]
151[[projects/Important Project 1]]
153[[../index]]
155[[a subdirectory/|Other files]]
157[[#tag-one|try me to test tag anchors]]
159[[#block quotes|try me to test header anchors]]
161[[#strong|try me to test strong anchors]]
163[[Todo List#Tomorrow|Tasks for tomorrow]]
165[[diary:2017-05-01]]
167[[file:../assets/data.csv|Important Data]]
169=== links with thumbnails ===
170[[http://www.google.com|{{./movie.jpg}}]]
172== images ==
174{{file:./lalune.jpg}}
176{{http://vimwiki.googlecode.com/hg/images/vimwiki_logo.png|Vimwiki}}
178{{local:./movie.jpg}}
181=== image with attributes ===
182{{lalune.jpg|_cool stuff_|style="width:150px;height:120px;"}}
184{{nonexist.jpg|*Non-existing* image|class="center flow blabla" style="font-color:red"}}
186{{lalune.jpg|_cool stuff_|style="width:150px;height:120px;"|anything in this segment is ignored}}
189== lists ==
192# ordered list item 1, and here is some math belonging to list item 1
193 {{$
194 a^2 + b^2 = c^2
195 }}$
196 and some preformatted and tables belonging to item 1 as well
197{{{
198I'm part of item 1.
199}}}
200| this table | is |
201| also a part | of item 1 |
202 and some more text belonging to item 1.
203# ordered list item 2
206* Bulleted list item 1
207* Bulleted list item 2
210# Bulleted list item 1
211# the # become numbers when converted to HTML
213- Bulleted list item 1
214- Bulleted list item 2
216* Item 1
217* Item 2
218 # Sub item 1 (indentation 4 spaces)
219 Sub item 1 continued line.
220%%comments
221 Sub item 1 next continued line.
222 * Sub item 2, as an ordered list item even though the identifier is `*` (indentation 2 spaces followed by one tab of width 4)
223 * etc.
224 Continuation of Item 2
225 Next continuation of Item 2
226But this is a new paragraph.
228# 1
229 * `1.1`
230 * 2
231 * 2.1
232 * 3
234=== ordered lists with non-# identifiers ===
2351. Numbered list item 1
2362. Numbered list item 2
2373. Numbered list item 3
2394. Numbered list item 1
2405. Numbered list item 2
2416. Numbered list item 3
2431) Numbered list item 1
2442) Numbered list item 2
2453) Numbered list item 3
247a) Numbered list item 1
248b) Numbered list item 2
249c) Numbered list item 3
251A) Numbered list item 1
252B) Numbered list item 2
253C) Numbered list item 3
255i) Numbered list item 1
256ii) Numbered list item 2
257iii) Numbered list item 3
259I) Numbered list item 1
260II) Numbered list item 2
261III) Numbered list item 3
263- Bulleted list item 1
264- Bulleted list item 2
265 a) Numbered list sub item 1
266 b) more ...
267 * and more ...
268 * ...
269 c) Numbered list sub item 3
270 1. Numbered list sub sub item 1
271 2. Numbered list sub sub item 2
272 d) etc.
273- Bulleted list item 3
275== todo lists ==
276* [ ] task 1
277 1. [.] 5
278* [o] 3
279* [] not a todo item
280* [ ]not a todo item
281* [r] not a todo item
282* [ ] not a todo item
283* [o] a tab in the todo list marker `[ ]`
284 III) [O] 4
285 5
286 i) [X]
287| a | b |
288* [X] task 2
290== math ==
292$ \sum_i a_i^2 = 1 $
294{{$
295\sum_i a_i^2
298}}$
300{{$%align%
301\sum_i a_i^2 &= 1 + 1 \\
302&= 2.
303}}$
305edge case (the `c^2 + ` after the multline tag is in the equation):
306{{$%multline%c^2 +
307a^2 + b^2
308}}$
310edge case (the tag is `hello%bye`)
311{{$%hello%bye%
312\int_a^b f(x) dx
313}}$
315Just two dollar signs: $$
317[not math] You have $1
318and I have $1.
320== tags ==
322:tag-one:tag-two:
324== tables ==
326| Year | Temperature (low) | Temperature (high) |
327|------|-------------------|--------------------|
328| 1900 | -10 | 25 |
329| 1910 | -15 | 30 |
330| 1920 | -10 | 32 |
331| 1930 | _N/A_ | _N/A_ |
332| 1940 | -2 | 40 |
335=== centered headerless tables ===
336 | a | b |
337 | c | d |
340== paragraphs ==
342This is first paragraph
343with two lines.
352This is a second paragraph with
353two lines after many blank lines.
355== definition list ==
357Term 1:: Definition 1
358Term 2::
359:: Definition 2
360 :: Definition 3
361Term :: *separated* by :: _double colons_ :: Def1
362:: Def2
363Term with lots of trailing colons::::::::: Definition
364:: This is :: A term (rather than a definition) :: and this is a definition
365Term Without definitions ::
366::
367Part :: of :: dt :: part of ::dd
369:: Definition 1 without a term
370:: Definition 2 without a term
372T1 :: D1
373new paragraph
374T1 :: D1
376Not::Definition
378Not ::Definition
380::Not definition
382 :: blockquote
384 block :: quote
386== metadata placeholders ==
387%title title
388%date 2017-05-01
390%title second title is ignored
391%date second date is ignored
393%this is not a placeholder
395placeholders
396%title another title
397%date 2017-04-23
398serves as space / softbreak in paragraphs
401== sup, sub ==
403super^script^
405sub,,script,,
407== the todo mark ==
408TODO:
410= _*not implemented yet*_ =
411== tables with spans ==
412| a | b | c | d |
413| \/ | e | > | f |
414| \/ | \/ | > | g |
415| h | > | > | > |
417== tables with multiple lines of headers ==
418| a | b |
419| c | d |
420|---|---|
422== some other placeholders ==
423`template` placeholder is ignored.
424%template template
426`nohtml` placeholder is ignored.
427%nohtml