damionx7 / Zettel-Notes-Documentation

Documentation for Zettel Notes : Markdown Note Taking application for android devices
https://znotes.thedoc.eu.org/
GNU General Public License v3.0
55 stars 5 forks source link

Consecutive Fenced Code blocks are not displayed correctly #204

Closed irmod closed 5 days ago

irmod commented 1 week ago

Zettel Notes v2.7.6

If there is an empty line between Fenced Code blocks, but there is no character in this line, then the blocks merge, are not displayed, and behave unpredictably in View Mode.

It is enough to insert any character into the line (for example, a dot .) to restore the correct display of Fenced Code.

CommonMark Spec defines the empty string as a universal block separator.

ZN276_Fenced_Code_1.png

ZN276_Fenced_Code_2.png

damionx7 commented 6 days ago

Thanks for reporting. I have fixed this issue.