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

Rendering of markdown lines beneath --- #120

Closed spc789 closed 4 months ago

spc789 commented 4 months ago

It occured to me that lines beneath tripple dashes (---) which render a line in markdown always render a heading text below it. Even if there is no # in front of the next line.

Example 1 :

Text Text

This renders as a heading but shouldn't

Example 2 :

Text Text

This renders as a heading and is ok

damionx7 commented 4 months ago

Hey. This is intentional and according to commonmark specs. Read more at https://spec.commonmark.org/0.30/#setext-heading.