diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2016-06-13 23:53:14 +0200 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2016-06-13 23:53:14 +0200 |
commit | 29552eff3e1c0a7eab8b114ac58ca83422a84fb0 (patch) | |
tree | 27e4d08cc4bc998b9f8d07e56a5a9468f51f9dbe /tests | |
parent | cf2502de8fb3d208a6b062d38a09cec0f9faba5a (diff) | |
download | pandoc-29552eff3e1c0a7eab8b114ac58ca83422a84fb0.tar.gz |
Org reader: support arbitrary raw inlines
Org mode allows arbitrary raw inlines ("export snippets" in Emacs
parlance) to be included as `@@format:raw foreign format text@@`.
Support for this features is added to the Org reader.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Tests/Readers/Org.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/Tests/Readers/Org.hs b/tests/Tests/Readers/Org.hs index ab50aa49c..56dedee55 100644 --- a/tests/Tests/Readers/Org.hs +++ b/tests/Tests/Readers/Org.hs @@ -405,6 +405,10 @@ tests = "\\notacommand{foo}" =?> para (rawInline "latex" "\\notacommand{foo}") + , "Export snippet" =: + "@@html:<kbd>M-x org-agenda</kbd>@@" =?> + para (rawInline "html" "<kbd>M-x org-agenda</kbd>") + , "MathML symbol in LaTeX-style" =: "There is a hackerspace in Lübeck, Germany, called nbsp (unicode symbol: '\\nbsp')." =?> para ("There is a hackerspace in Lübeck, Germany, called nbsp (unicode symbol: ' ').") |