You can hack python's codec's syntax to create preprocessors for so that it...
You can hack python's codec's syntax to create preprocessors for #python so that it will do things like
`python some_code.md`
for some file like this.... But I'll have to extend the magic library first.
```markdown
# # coding: magic.markdown
"... image nested code block here ..."
```
ref: https://pydong.org/posts/PythonsPreprocessor/