AngeloStavrow / indigo

An IndieWeb-friendly custom theme for Hugo
MIT License
58 stars 32 forks source link

CODE block breaks in MS Edge #78

Closed fu-sen closed 4 years ago

fu-sen commented 4 years ago

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: スクリーンショット 2020-02-17 13 02 10

Chrome and Firefox don't have this, but some Windows users will care.

fu-sen commented 4 years ago

found this solution:

pre code {
    display: block;
}

スクリーンショット 2020-02-17 17 05 45

CSS may need additional tweaking, but it is a separate issue.

AngeloStavrow commented 4 years ago

Thanks for opening this! Code blocks in general could be improved, as they don't play very nicely with Hugo's highlight shortcodes either.

AngeloStavrow commented 4 years ago

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!