Closed maxschulz-COL closed 1 month ago
No response
1.18.0
First of all really useful package, thanks!
So here is the issue: We discovered that while the tool can pick up a block like:
```python def foo(): return "poo" \```
it does not pick up on the equivalent {.python} syntax (which allows to specify further options: https://python-markdown.github.io/extensions/fenced_code_blocks/).
{.python}
We are trying to use this in mkdocs documentation, where the codeblocks carry further options, so cannot be specified as ```python.
```python
Would this be something that could be supported?
Tagging also @maartenbreddels for visibility.
Dupe of #274 / #281.
Since you’re another report, I think we could consider adding support. The next step would be to rebase and finish up the work for #274 (docs, changelog note, more tests).
Python Version
No response
Package Version
1.18.0
Description
First of all really useful package, thanks!
So here is the issue: We discovered that while the tool can pick up a block like:
it does not pick up on the equivalent
{.python}
syntax (which allows to specify further options: https://python-markdown.github.io/extensions/fenced_code_blocks/).We are trying to use this in mkdocs documentation, where the codeblocks carry further options, so cannot be specified as
```python
.Would this be something that could be supported?
Tagging also @maartenbreddels for visibility.