+
Skip to content

commonmark-hs style attributes? #105

@not-my-profile

Description

@not-my-profile

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载