Skip to content

Issue with nested block-quote md syntax #50

@mmcky

Description

@mmcky

Describe the bug

The following markdown snippet causes jupytext conversion to fail with error (IndexError: list index out of range)

> `!conda install quantecon`

Is this an issue with nested literals?

It appears to be valid md using https://spec.commonmark.org/dingus/.

To Reproduce

Add snippet to any md document

run

jupytext doc.md --to ipynb

Expected behavior

successful transfer to ipynb

Environment

  • markdown_it_py = 0.5.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions