41.4 fromatting breaks in code sample
Nice work :), but a rendering issue.
Environment
-
Operating system: Linux 4.15.0-136-generic #140-Ubuntu x86_64 GNU/Linux
-
Browser name and version: FireFox 85.0.1 (64-bit)
Description
Article breaks a little below start of 41.4 the rest of page is not inside the section element of id=page.
This breaks the flow.
Link(s):
- https://vim.help/41-write-a-vim-script#41.4
Screenshot:
Layout breaks after '\. in code sample. Due to $ perhaps:
:if str =~ " "
: echo "str contains a space"
:endif
:if str !~ '\.$'
: echo "str does not end in a full stop"
:endif

DOM. Everything after </section> is botched.

Nice catch, thanks! The parser has a long way to go before dealing with all the edge cases properly…
I've put this project on pause for now, hopefully I'll be able to come back to it in a few months. It could really benefit from a TS port and better separation of concerns.