Skip to content

Element Attributes only support simple markdown, no nested inline elements #1663

Description

@joshdcomp

Consider:

<section data-markdown>
    <script type="text/template">
        #intro to svg
        - Vector images <!-- .element: class="fragment" -->
        - A permutation of `XML` <!-- .element: class="fragment" -->
    </script>
</section>

This results in A permutation of XML just showing up onSlideLoad, ignoring the intended fragment order.

I tried <!-- li: class="fragment" --> but that just displays all list items onSlideLoad.

This applies for anything in markdown that would create html inside of that line (italic, bold, pre, etc).

I'd like for a way to denote fragments in markdown for elements that contain inline elements.

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