dcc.Markdown: dccLink children should be interpreted as markdown too
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 24.4k
- Forks
- 2.3k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 13
Description
If you use <dccLink href="..." children="some *styled* text" /> inside your dcc.Markdown in order to get high-performance links, currently this children prop won't interpret markdown. It also doesn't seem as though
<dccLink href="...">children</dccLink>
works at all, although it seems like it should. If it did, that might have been a workaround, ie:
<dccLink href="...">some *styled* text</dccLink>
or perhaps
<dccLink href="..."><dccMarkdown children="some *styled* text"/></dccLink>
related: https://github.com/plotly/ddk-dash-docs/pull/671#issuecomment-1071121251
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how dcc.Markdown renders dccLink children and compare the supported JSX forms with the linked react-jsx-parser behavior. Done means children such as "some styled text" are interpreted as markdown when used through dccLink, including the opening and closing form described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, react
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100