holoviz / panel

Panel: The powerful data exploration & web app framework for Python
https://panel.holoviz.org
BSD 3-Clause "New" or "Revised" License
4.61k stars 500 forks source link

Add support for special blocks when panel serves a Markdown file #6250

Open MarcSkovMadsen opened 7 months ago

MarcSkovMadsen commented 7 months ago

As a contributor to the docs of Panel it would be quite helpful if I could quickly render a single markdown document.

To some extent panel serve is the best solution for this. But it cannot handle certain code blocks.

Please support the special codeblocks used by Panel in order of priority

Example rendering

image

philippjfr commented 7 months ago

The hope was to eventually enable MyST flavored markdown in the markdown pane. When I overhauled the Markdown implementation recently it wasn't quite ready yet, but the MyST world moves fast and we should revisit this.