This repository was archived by the owner on Jun 3, 2024. It is now read-only.
This repository was archived by the owner on Jun 3, 2024. It is now read-only.
Support for rendering links inside dcc.Markdown
as dcc.Link
for single page dash apps #250
Closed
Description
I use dcc.Markdown
really extensively in dash-docs
. It's great! However, a few things would make my life a lot easier:
- (Done!) GitHub style language tags, that is:
``python
def dash():
pass
Edit - This has been done!
- Ability for the hyper links to use
dcc.Link
instead of the HTML link
Currently, I have to break out my dcc.Link
from dcc.Markdown
, which is pretty tedious:
https://github.com/plotly/dash-docs/blob/58b6f84f2d8012d1ae686f1379f326a292370ee3/tutorial/getting_started_part_2.py#L260-L269
- (Done!) Automatic dedenting. Right now, I use
textwrap.dedent
everwhere in my text. If I don't usededent
, then the markdown is formatted as code (4 indents in markdown is code). It would be nice if I could just pass indedent=True
or something
Edit - This has been done!