While working on a plugin for Bridgetown I realized that it was not possible to use some of the newer Rouge Formatters like Rouge::Formatters::HTMLLineHighlighter.new(formatter, highlight_lines: [3, 5]) for at least two reasons. First of all the first argument is a delegate for another formatter. Secondly, there is no way to pass the highlight_lines option through to the Formatter without doing some monkey patching.
Is there any interest in supporting these other Formatters from within Kramdown (rather than resorting to external patches)? Are you open to PRs on this and is there the bandwidth from someone with a deeper knowledge of the codebase to advise?
While working on a plugin for Bridgetown I realized that it was not possible to use some of the newer Rouge Formatters like
Rouge::Formatters::HTMLLineHighlighter.new(formatter, highlight_lines: [3, 5])for at least two reasons. First of all the first argument is a delegate for another formatter. Secondly, there is no way to pass the highlight_lines option through to the Formatter without doing some monkey patching.Is there any interest in supporting these other Formatters from within Kramdown (rather than resorting to external patches)? Are you open to PRs on this and is there the bandwidth from someone with a deeper knowledge of the codebase to advise?