diff options
author | Mark Sullivan <msullivan@archive.org> | 2018-06-12 20:43:35 -0700 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2018-07-12 10:10:35 -0700 |
commit | a88e3123c3c826bd28834f1dfb4a31c6389283ac (patch) | |
tree | 4ff821286077e17006d6a052332b61056ac558a3 /pandoc_confluence.lua | |
parent | 3dd0004bf0886b20004e9ee0908f25aa1be099d7 (diff) | |
download | divergence-a88e3123c3c826bd28834f1dfb4a31c6389283ac.tar.gz divergence-a88e3123c3c826bd28834f1dfb4a31c6389283ac.zip |
Support quote characters
- Just a guess, but it seems to work
Diffstat (limited to 'pandoc_confluence.lua')
-rw-r--r-- | pandoc_confluence.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pandoc_confluence.lua b/pandoc_confluence.lua index 18823a7..78c08d6 100644 --- a/pandoc_confluence.lua +++ b/pandoc_confluence.lua @@ -222,6 +222,14 @@ function Header(lev, s, attr) return anchor(attr.id) .. "<h" .. lev .. attributes(attr) .. ">" .. s .. "</h" .. lev .. ">" end +function SingleQuoted(s) + return "'" .. s .. "'" +end + +function DoubleQuoted(s) + return """ .. s .. """ +end + function BlockQuote(s) return "<blockquote><p>" .. s .. "</p></blockquote>" end |