Closed fu-sen closed 4 years ago
found this solution:
pre code {
display: block;
}
CSS may need additional tweaking, but it is a separate issue.
Thanks for opening this! Code blocks in general could be improved, as they don't play very nicely with Hugo's highlight shortcodes either.
I think this was fixed at some point, maybe with the new Markdown renderer? I don't see this extra-linebreak issue in Edge anymore (the syntax highlighting in #89 is still a problem, though, and I'm fixing it now).
Closing as wontfix
, but please don't hesitate to re-open if you continue to see an issue!
I referenced the following on MS Edge: https://themes.gohugo.io//theme/indigo/post/markdown-syntax/
As a result, one line space is left in CODE block:
Chrome and Firefox don't have this, but some Windows users will care.