Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mkdocs lacks nested inline highlighting support #72

Open
nerdoc opened this issue Sep 17, 2024 · 0 comments
Open

Mkdocs lacks nested inline highlighting support #72

nerdoc opened this issue Sep 17, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed

Comments

@nerdoc
Copy link
Collaborator

nerdoc commented Sep 17, 2024

Components with a template: django_html = """...""" string should be highlighted correctly, the inline string is a Django template.
MkDocs uses pygments for highlighting, which seems good as it is precompiled.

But pygments does not support "inline" templates with Django syntax within Python code.

Maybe it needs to be written as pygments plugin, or mkdocs extension to add support for Tetra.

@nerdoc nerdoc added documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed labels Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant