Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

feat: format comments as markdown for rendering #21

Merged
merged 2 commits into from
Feb 23, 2024
Merged

feat: format comments as markdown for rendering #21

merged 2 commits into from
Feb 23, 2024

Conversation

gtema
Copy link
Owner

@gtema gtema commented Feb 23, 2024

simple wordwrap in the rendering causes formatting to be broken. Add
custom jinja filter wrap_markdown based on the mdformat library.

simple wordwrap in the rendering causes formatting to be broken. Add
custom jinja filter `wrap_markdown` based on the `mdformat` library.
markdownify, which is used to convert html or the api-ref into the
markdown defaults to escape underscores with `\_`. This is unnecessary
and screwes rendered documentation. Disable it.
@gtema gtema merged commit 5cd0558 into main Feb 23, 2024
6 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant