Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Is it possible to attach attributes to a definition list item? #323

@GoldsteinE

Description

@GoldsteinE

I wasn’t able to do this in live playground neither for terms nor for definitions.

{.red}
: term

  definition

parses as

doc
  definition_list class="red"
    definition_list_item
      term
        str text="term"
      definition
        para
          str text="definition"

and

: term

  {.red}
  definition

parses as

doc
  definition_list
    definition_list_item
      term
        str text="term"
      definition
        para class="red"
          str text="definition"

(note that class is attached to para, not to definition).

Possibly related to #308.

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