Closed aeturrell closed 4 years ago
All of this is using Pandoc Markdown's attribute syntax, which wraps everything in braces {}
. Are you wanting something like
```python
to work instead?
For syntax highlighting, I know that ```{.python ...}
works in VS Code and I imagine it should be possible to customize other editors to do the same thing.
I see - it's most likely my local setup then. I did find that ```{.python ...} did not give syntax highlighting in export to other formats via the command line too (eg HTML). But this could be coming from (and perhaps changed in) pandoc. Will close this at it seems like it's outside of scope.
Currently using
(ie syntax specific markdown) in a markdown file and executing it using codebraid with the '--to markdown' flag causes an error. Just using
{.python .cb.run show=code+stdout}
results inWould it be possible to implement a feature whereby language-specific syntax highlighting is preserved during execution?