posthtml-beautify
posthtml-beautify copied to clipboard
Running posthtml-beautify on syntax highlighted code breaks it.
Would it be possible to have an option to bypass formatting for anything inside of <pre></pre>?
@muffinresearch Hi,
Would it be possible to have an option to bypass formatting for anything inside of
<pre></pre>?
Thanks for your interest in this package. Could you give an example?
Sure, here's a quick test-case showing before and after.
Note: FWIW this output for syntax highlighting comes from the syntax highlighting in 11ty.
Sure, here's a quick test-case showing before and after.
Note: FWIW this output for syntax highlighting comes from the syntax highlighting in 11ty.
Thanks, ok I'll try to figure it out