Closed
Description
I am converting many small Markdown snippets using kramdown+CodeRay.
def convert(markdown)
Kramdown::Document.new(markdown, coderay_line_numbers:nil, coderay_css: :class).to_html
end
Each time there is a code block tagged with the Lua language I get:
CodeRay::Scanners could not load plugin :lua; falling back to :text
As a result my automated script for generating documentation is spitting out ~100 lines on stderr where one would suffice.
It would be nice if this warning could only be emitted once per language per process. Would you accept a patch for this, e.g. storing an instance variable on CodeRay::PluginHost
referencing a hash of languages that have been warned about?