Visually nice header indentation
Daandelange opened this issue · comments
Daan de Lange commented
Hey,
I was bothered by the randomly indented header tags produced by the plugin, they didn't look nice in the source code.
Here's a proposal for rendering it cleanly indented: main...Daandelange:kirby-meta:header-indentation
Note that the snippets code become a little less readable, but I didn't manage to do better with the original code style.
Also, the default indentation is two spaces ' '
, level=2 (for <html>
and <header>
).
Before | After |
---|---|
Fabian Michael commented
@Daandelange I’ve been there before but it just adds unnecessary complexity. I’ll have to refuse this offer. Sorry!