From 0a6aaf5e1b60031b175ff81fa61f5059d63a75d8 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 13 Nov 2015 12:06:39 -0800 Subject: Added `emoji` extension to Markdown. This is enabled by default in `markdown_github`. Added `Ext_emoji` to `Extension` in `Text.Pandoc.Options` (API change). Closes #2523. --- tests/Tests/Readers/Markdown.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/Tests') diff --git a/tests/Tests/Readers/Markdown.hs b/tests/Tests/Readers/Markdown.hs index f6afacb34..366ab7413 100644 --- a/tests/Tests/Readers/Markdown.hs +++ b/tests/Tests/Readers/Markdown.hs @@ -185,6 +185,10 @@ tests = [ testGroup "inline code" "<\n\na>" =?> para (text "<") <> para (text "a>") ] + , testGroup "emoji" + [ test markdownGH "emoji symbols" $ + ":smile: and :+1:" =?> para (text "😄 and 👍") + ] , "unbalanced brackets" =: "[[[[[[[[[[[[[[[hi" =?> para (text "[[[[[[[[[[[[[[[hi") , testGroup "backslash escapes" -- cgit v1.2.3