JakubAndrysek / MkDoxy

📖 Automatically generates API documentation for your project based on Doxygen comments and code snippets in your markdown files.
https://mkdoxy.kubaandrysek.cz/
MIT License
60 stars 16 forks source link

Correctly display inline code blocks #96

Closed r-braun closed 3 months ago

r-braun commented 3 months ago

Fixes the issue where inline code blocks (i.e. in a details section) don't display correctly.

This is done by first outputting all code sections as plain code blocks (using ``` without a language) and then applying a filter in the jinja2 templates that adds the active language to any plain code blocks.

fixes #79

JakubAndrysek commented 3 months ago

Thank you for your PR. I will look into both of them in the evening.

JakubAndrysek commented 3 months ago

Moved to PR https://github.com/JakubAndrysek/MkDoxy/pull/97 - for some lint fixes.