commonmark-hs style attributes?
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by reading Marko's parser extension points and comparing them with the linked commonmark-hs attributes extension and its inline and block examples. The issue names no Marko files or tests; done would mean supporting attributes such as classes and IDs on inline and block elements with output matching the stated examples.
Written by the indexing model from the issue text.
Description
The commonmark-hs library used by pandoc has a very nice attributes extension that allows attributes to be attached to any inline or block elements, e.g:
{.test}
* foo
* bar
attaches the attribute class=test to the list and *test*{#ident} results in <em id="ident">hi</em>.
How difficult would it be to implement the same for Marko?
- Dominant language
- Python
- Stars
- 470
- Forks
- 72
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 34
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from frostming/marko
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Trailing spaces and tabs are preserved at the end of paragraphsPossibly taken @rahul05ranjan claimed this today. Open
Difficulty 3/5 1-2 days Newbie friendliness 25/100
Maintainers usually reply within 1 day
-
GFM elements (strikethrough, tables, alerts, bare autolinks) crash the LatexRenderer with NotImplementedErrorPossibly taken @rahul05ranjan claimed this 4 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 25/100
Maintainers usually reply within 1 day
Similar issues
-
AI bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
AUTO-MAS-Project/AUTO-MAS#1960 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
btclib-org/btclib-wallet#872 ·
Maintainers usually reply within 1 day
-
[Bug]: Scheduled returns scan all accepted minion keys causing extreme loadPossibly taken A pull request linked to this issue is open or already merged. Openbug needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
saltstack/salt#70789 · 1 comment ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 87/100
btclib-org/btclib#3093 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day