diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-11-29 10:42:05 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-11-29 10:42:05 -0800 |
commit | 642c022d816a88bd877b9f63819db7c4187f0c0b (patch) | |
tree | 6121385757c2d419c9736c0cfbb7b1a2cd556604 /data | |
parent | 77a40d6f341933b136c6ddd54f2568152b4b31ef (diff) | |
download | pandoc-642c022d816a88bd877b9f63819db7c4187f0c0b.tar.gz |
sample.lua: add SingleQuoted, DoubleQuoted.
Closes #5104.
Diffstat (limited to 'data')
-rw-r--r-- | data/sample.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/data/sample.lua b/data/sample.lua index 9d6bf0fc7..86f95c860 100644 --- a/data/sample.lua +++ b/data/sample.lua @@ -164,6 +164,14 @@ function DisplayMath(s) return "\\[" .. escape(s) .. "\\]" end +function SingleQuoted(s) + return "‘" .. s .. "’" +end + +function DoubleQuoted(s) + return "“" .. s .. "”" +end + function Note(s) local num = #notes + 1 -- insert the back reference right before the final closing tag. |