ltabis / rhai-autodocs

Generate Markdown documentation from a `rhai::Engine` instance.
MIT License
3 stars 1 forks source link

fix: code block at end of sections breaking markdown #27

Closed Tired-Fox closed 4 months ago

Tired-Fox commented 4 months ago

If triple back tick (tilde) is at the end of a section it is concatenated with a closing tag. This becomes invalid markdown. This PR updates the template for mdbook to add a newline between the end of the section and buttons and the content rendered. This makes it more robust and less likely to break based on syntax. Fixes #23