diff --git a/lib/Demojify.lua b/lib/Demojify.lua index e0a837d..1522a6f 100644 --- a/lib/Demojify.lua +++ b/lib/Demojify.lua @@ -104,7 +104,6 @@ local blockedSingles = lookupify({ 0x00023F8, 0x00023F9, 0x00023FA, - 0x0000023, 0x0001F51F, -- unicode 8 0x0001F6CC, diff --git a/test/demojify.jl b/test/demojify.jl index f89356f..ca9d4a8 100644 --- a/test/demojify.jl +++ b/test/demojify.jl @@ -1,5 +1,11 @@ @testset "demojify" begin - doc = test_pandoc("Hello world :wave:"; demojify = true) + doc = test_pandoc(""" + Hello world :wave: + + ```sh + echo 😎cool # comment + ``` + """; demojify = true) @test """ *test.txt* Test Description @@ -9,12 +15,22 @@ Table of Contents *test-table-of-contents* Hello world +>sh + echo cool # comment +< + Generated by panvimdoc vim:tw=78:ts=8:noet:ft=help:norl: """ == doc - doc = test_pandoc("Hello world :wave:"; demojify = false) + doc = test_pandoc(""" + Hello world :wave: + + ```sh + echo 😎cool # comment + ``` + """; demojify = false) @test """ *test.txt* Test Description @@ -24,6 +40,10 @@ Table of Contents *test-table-of-contents* Hello world :wave: +>sh + echo 😎cool # comment +< + Generated by panvimdoc vim:tw=78:ts=8:noet:ft=help:norl: diff --git a/test/para.jl b/test/para.jl index b62b389..3aa14b8 100644 --- a/test/para.jl +++ b/test/para.jl @@ -12,7 +12,7 @@ All of the content in curly braces `{...}` that is part of the header is dropped *test.txt* Test Description Pandoc supports definition lists: -. This can be used to generate +. This can be used to generate documentation of mappings. All of the content in curly braces `{...}` that is part of the header is dropped and a tag is created.