210322.1.1 · Resolve "Roadmap 4.0"
Description="Replace ANSI Escape character by readable symbols"
Categories = {"format", "html" }
-- optional parameter: syntax description
function syntaxUpdate(desc)
if (HL_OUTPUT ~= HL_FORMAT_HTML and HL_OUTPUT ~= HL_FORMAT_XHTML) then
return
end
function Decorate(token)
if token == "\27" then
return "鉃"
end
end
end
Plugins={
{ Type="lang", Chunk=syntaxUpdate },
}