git.iko.soy/typeable/pandoc
on rc/2.8.0.1 help sign in
48 lines 837 B history raw
1No blank lines in inline interpreted roles:
3```
4% pandoc -f rst -t native
5`no
7blank`:myrole:
8^D
9[Para [Str "`no"]
10,Para [Str "blank`:myrole:"]]
11```
13Backslash escape behaves properly in interpreted roles:
15```
16% pandoc -f rst -t native
17`hi\ there`:sup:
19`hi\ there`:code:
20^D
21[Para [Superscript [Str "hithere"]]
22,Para [Code ("",[],[]) "hi\\ there"]]
23```
25Backtick followed by alphanumeric doesn't end the span:
26```
27% pandoc -f rst -t native
28`hi`there`:myrole:
29^D
30[Para [Code ("",["interpreted-text"],[("role","myrole")]) "hi`there"]]
31```
33Newline is okay, as long as not blank:
34```
35% pandoc -f rst -t native
36`hi
37there`:myrole:
38^D
39[Para [Code ("",["interpreted-text"],[("role","myrole")]) "hi\nthere"]]
40```
42Use span for title-reference:
43```
44% pandoc -f rst -t native
45`default`
46^D
47[Para [Span ("",["title-ref"],[]) [Str "default"]]]
48```