trentm / trentm/python-markdown2
What is the best way to avoid markdown parser in certain areas ?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.8k
- Forks
- 459
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 4
Description
Hi guys,
Working with mardown2, I am trying to generate some jinja2 code.
In my markdown file, I have a link that is dynamically set from a configuration.
[{{config.get_download_link}}]({{config.get_download_link}})
This generates the following output:
<p><a href="{{config.get_download_link}}">{{config.get<em>download</em>link}}</a></p>
It works fine from a markdown perspective, but I would like to avoid computing an HTML output between {{ and }}.
Is there a recommended way ? Any idea ?
Contributor guide
No contributing guide indexed for this repository
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 reproducing the issue's markdown example with the shown Jinja2 expressions and compare the generated HTML with the expected behavior. There are no files, tests, or entry points named in the issue; done would require an agreed way to prevent markdown processing inside the marked template expressions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- markdown, python
- Domain
- content
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100