-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
It would be actually cool if we could use MDX code block properties, e.g. like
Let's start with
```python group=example1.py
from pprint import pp
```
and then continue with
```python group=example1.py
pp({"hello": "world")
```In my mind, that would be very idiomatic to how Docusaurus code blocks work and it would gave us explicit control which code examples get grouped.
Still, this is just a slightly different way of what doccmd is already doing, and wouldn't take away the manual work denoting which code blocks should be put together before linted. It's a fuzzy thing and in some pages requires manual restructuring of the examples so they could be grouped and linted (or tested, etc.).
This is a copy paste from apify/apify-docs#2027 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels