trentm / trentm/python-markdown2

Specific HTML classes

Open
#166 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.8k
Forks
459
Avg merge
2d 19h
Merged PRs (30d)
4

Description

Hi there,

is there a possibility to add specific html classes to elements, like the other markdown for python implementation allows?

Here the relating article:
https://pythonhosted.org/Markdown/extensions/attr_list.html

Greetings,
Felix

p.s. is it possible that the html-classes extra in combination with markdown image syntax gets a conflict?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked attr_list article, then inspect markdown2's handling of HTML classes and Markdown image syntax. Determine whether class attributes should be supported consistently and whether image parsing conflicts with that feature; done means the requested syntax works without breaking existing image output and is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, markdown, python
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.