diff --git a/spec/renderers_spec.moon b/spec/renderers_spec.moon index 710f65b..cfd27b4 100644 --- a/spec/renderers_spec.moon +++ b/spec/renderers_spec.moon @@ -69,6 +69,14 @@ this code block has an unknown label assert.same [[
this code block has an unknown label
]], out + it "doesn't highlight unlabeled code blocks", -> + out = flatten_html render [[ +``` +this code block has no label +```]] + + assert.same [[
this code block has no label
]], out + it "defaults to pandoc highlighting when pygments fails to recognize code language", -> out = flatten_html render [[ ```heex