trentm / trentm/python-markdown2
Looking for support for WikiLinks
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.8k
- Forks
- 459
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 4
Description
I am looking in Markdown2 for the ability to identify and process WikiLinks.
Blocks identified as [[mypage]] would be translated to:
<a class="localLink" href="/mypage.html">mypage</a>
At initialisation base_url='/', end_url='.html', html_class='localLink would be passed.
The referenced implementation was originally built as an extension to Python-Markdown.
If not, happy to help build one but would need a bit of a heads up on how to build an extra.
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 with the linked Python-Markdown WikiLinks implementation and its extension documentation. Confirm markdown2's extension initialization path, then implement [[mypage]] rendering with configurable base_url, end_url, and html_class; done means the requested anchor output is produced.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100