trentm / trentm/python-markdown2
Support for reduced featureset, or mini-markdown
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.8k
- Forks
- 459
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 4
Description
I'd like to be able to parse comments, similarly to stack overflow, only recognising a subset of markdown syntax: [link](http://example.com) *italic* **bold** code``, ignoring multiple paragraphs and different kinds of blocks.
I guess this would be _run_span_gamut, but ignoring image links. A particular interest is keeping the safe_mode functionality.
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 reading the markdown span-processing path around _run_span_gamut and the existing safe_mode behavior. Check how links, emphasis, code, images, paragraphs, and block syntax are currently handled, then define the reduced parsing behavior while preserving safe_mode. Done means comments recognize the requested subset and ignore the excluded structures.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- content
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100