Skip to content

Markdown: Unsupported parsing cases #133

Description

@stdword

Mldoc cannot parse following cases (but several of them successfully displays in Logseq).
But it is required to be done with mldoc to use this parser in plugin development separately from Logseq.

case markdown parsed as
horizontal line ___ & --- & *** plain
headings ### h3 Heading plain
blockquotes > Blockquotes can also be nested... plain
numbered lists 1. Lorem ipsum dolor sit amet plain
unordered lists - Lorem ipsum dolor sit amet plain
code block ```js
var foo = bar()
```
["Code", "` js\nvar foo = bar()\n"],
["Plain", "`"],
inline code ```var foo = bar()``` ["Code", "`var foo = bar()\n"],
["Plain", "`"],
table | A | B | \n | 1 | 2 | plain
inclusion url metadata not presented ![Logseq](https://logseq.com) ["Link", {
"full_text": "![Logseq](https://logseq.com)",
"url": ["Complex",{"protocol": "https", "link": "logseq.com"}],
"label": [ ["Plain", "Logseq"] ],
"metadata": ""}]
reference by id ![Alt text][id]
With a reference later
[id]: https://dojocat.jpg "The Dojocat"
plain
inline footnote Inline footnote^[Text of inline footnote] definition. plain
footnotes with bug in id assignment Footnote link[^first]
[^first]: Footnote
["Footnote_Reference",{"id": 1,"name": "first"}],
["Footnote_Reference",{"id": 2,"name": "first"}],

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions