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-2 #97

Closed JakubAndrysek closed 3 months ago

JakubAndrysek 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

PR by @r-braun - https://github.com/JakubAndrysek/MkDoxy/pull/96