ipypublish.filters_pandoc.rmarkdown_to_mpe module¶
a panflute filter to override vs-code Markdown Preview Enhanced (MPE) interpretation of RMarkdown python cells.
MPE expects cells to have braced attributes after code name;
- ::
`python {cmnd=true} print("hi") `
whereas, in RMarkdown, the code name is included in the brace:
```{python ipub={'figure': {'caption': 'this is a caption'}}}
print("hi")
```
See https://github.com/shd101wyy/vscode-markdown-preview-enhanced/issues/185