You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This is a header
<p>
# This probably shouldn't be a header, it's good
</p>
<details>
# This should be a header, but it's not
</details>
<p>
# This should be a header too
</p>
Source:
Playground: https://go.dev/play/p/JlPMv2ebWw2
Github render: https://gist.github.com/zyxkad/7dfc84efa8ea9464481bd57b97646d9d
Half parser in babelmark support that.
https://babelmark.github.io/?text=%0A%23+This+is+a+header%0A%0A%3Cp%3E%0A%23+This+probably+needn%27t+be+a+header%2C+it%27s+good%0A%3C%2Fp%3E%0A%0A%3Cdetails%3E%0A%0A%23+This+should+be+a+header%2C+but+it%27s+not%0A%0A%3C%2Fdetails%3E%0A%0A%3Cp%3E%0A%0A%23+This+should+be+a+header+too%0A%0A%3C%2Fp%3E%0A