Skip to content

attr_list does not work with <pre> blocks #965

Closed
@galaxy4public

Description

@galaxy4public

It seems that it is impossible to add an attribute the the <pre> block. It is a block level element, so according to the source code attr_list will try to get the definition from the last line of the block, but this does not happen, e.g.:

```
code block
{ #something }
```

Will be just rendered as:

code block
{ #something }

Or do I miss something and there is some what re: how one can add an attribute to the <pre> block in Markdown?

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmedConfirmed bug report or approved feature request.docsRelated to the project documentation.extensionRelated to one or more of the included extensions.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions