Open stdword opened 1 year ago
@tiensonqin Do you have plans on change anything in mldoc?
@stdword I think I have noticed logseq team moving functionality from mldoc into clj/cljs to be used in Logseq. Not sure if mldoc will be around in the future.
@Bad3r this is very sad. I guess then we need a Plugin API to render the block contents to HTML with the flavour of Logseq Markup.
Probably you can help me, at least merge this PR?
@Bad3r this is very sad. I guess then we need a Plugin API to render the block contents to HTML with the flavour of Logseq Markup.
Probably you can help me, at least merge this PR?
This is not confirmed only my guess. I would wait for someone from the Logseq team to respond. I, unfortunately, do not have other methods of contacting the team other than GitHub or discord; hopefully, they will get around to it soon.
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.
___
&---
&***
### h3 Heading
> Blockquotes can also be nested...
1. Lorem ipsum dolor sit amet
- Lorem ipsum dolor sit amet
```js
var foo = bar()
```
|["Code", "` js\nvar foo = bar()\n"],
["Plain", "`"],
```var foo = bar()```
|["Code", "`var foo = bar()\n"],
["Plain", "`"],
\| A \| B \| \n \| 1 \| 2 \|
![Logseq](https://logseq.com)
|["Link", {
"full_text": "![Logseq](https://logseq.com)",
"url": ["Complex",{"protocol": "https", "link": "logseq.com"}],
"label": [ ["Plain", "Logseq"] ],
"metadata": ""}]
![Alt text][id]
With a reference later
[id]: https://dojocat.jpg "The Dojocat"
Inline footnote^[Text of inline footnote] definition.
Footnote link[^first]
[^first]: Footnote
|["Footnote_Reference",{"id": 1,"name": "first"}],
["Footnote_Reference",{"id": 2,"name": "first"}],