frostming / frostming/marko

commonmark-hs style attributes?

Open
#105 0 comments 4 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
469
Forks
55
Avg merge
7d 46m
Merged PRs (30d)
3

Description

The [commonmark-hs](https://github.com/jgm/commonmark-hs) library used by pandoc has a very nice [attributes extension](https://github.com/jgm/commonmark-hs/blob/master/commonmark-extensions/test/attributes.md) 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 `hi`.

How difficult would it be to implement the same for Marko?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.