This repository was archived by the owner on Aug 29, 2025. It is now read-only.

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 use dedent, then the markdown is formatted as code (4 indents in markdown is code). It would be nice if I could just pass in dedent=True or something
Edit - This has been done!