Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

attr_list doesn't support block level code elements #1001

Closed

Description

@GiovanH

Parsing this markdown block:

```python
# Line 1
# Line 2
``` 
{: .no_line_numbers}

(space after ``` only to allow github markdown parsing)

with fenced_code and attr_list extensions enabled with default settings

renders this html:

<pre><code class="python"># Line 1
# Line 2
</code></pre>
<p>{:&nbsp;.no_line_numbers}</p>

There doesn't seem to be a way to manually specify attributes for code blocks in the current implementation.

Activity

  1. waylan commented on Jul 12, 2020

    @waylan
    Member

    This was addressed in #816, which will be available in the next release.

  2. added
    duplicate
    on Jul 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicate

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions