From 25907ba418277c20a2bcc36dad7cb51ee5620980 Mon Sep 17 00:00:00 2001 From: Mike Smith <10135646+mikesmithgh@users.noreply.github.com> Date: Tue, 12 Sep 2023 15:21:02 -0400 Subject: [PATCH 1/3] fix(demojify): Do not remove U+0023 # Number Sign --- lib/Demojify.lua | 1 - 1 file changed, 1 deletion(-) 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, From adc3e0001e7a94882ed4e00e180153083883ddf6 Mon Sep 17 00:00:00 2001 From: Mike Smith <10135646+mikesmithgh@users.noreply.github.com> Date: Tue, 12 Sep 2023 20:14:29 -0400 Subject: [PATCH 2/3] chore: fix para test # --- test/para.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. From 11e053c520326461441f70620dfd72a1f9e3fef9 Mon Sep 17 00:00:00 2001 From: Mike Smith <10135646+mikesmithgh@users.noreply.github.com> Date: Tue, 12 Sep 2023 21:37:34 -0400 Subject: [PATCH 3/3] chore: update demojify test to include # comment --- test/demojify.jl | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) 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: