-
-
Notifications
You must be signed in to change notification settings - Fork 531
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for writing applications in Markdown #4602
Conversation
If you have time please test that a panel app .md file renders nicely on GitHub. Then you have an easy way of deploying documentation. Please consider whether the python tag could/ should be supported. Maybe it's better than the Panel tag. The Python tag is recognized and will render nicely on GitHub and in .md based docs or blog posts. IDEs like Pycharm or VS code might also be able to provide help inside the code section if the Python tag is used? |
Works fine, see https://github.com/holoviz/panel/blob/5593ff79585ea4fc1ef6e29d1611fe677e950c5b/doc/how_to/display/examples/hello_world.md
These are good points and originally I had support for python tags but my concern was that it made it impossible to actually render Python code inline as Markdown. |
Just discovered that you can use the file extension as a language tag, e.g. |
Codecov Report
@@ Coverage Diff @@
## main #4602 +/- ##
==========================================
+ Coverage 83.38% 83.72% +0.34%
==========================================
Files 258 260 +2
Lines 36944 37036 +92
==========================================
+ Hits 30805 31010 +205
+ Misses 6139 6026 -113
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 10 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
panel serve
,pn.serve()
andpanel convert
.md files