this editor.js supports Markdown editing or even converting option?
Hi @NiNJAD3vel0per !
We will work on some converting options in the next releases
Hi @NiNJAD3vel0per !
We will work on some converting options in the next releases
Can't Wait!
want to support markdown
Markdown, please. :)
Would you like support markdown?
Yes, markdown, please! :-)
Is someone developing this feature ?
any updates on this?
I tied to make my implementation with mdast but this is really hard to maintain "CLEAN data that easy to sanitize, extend and integrate with your logic" with markdown.
Example of clean data:
On this page you can see it in action โ try to edit this text.
will be
{
"type": "parahraph",
"data": {
"text": " On <b>this page</b> you can see it in action โ try to edit this text."
}
}
Which means you literally should re-implement ALL built-in inline tools to support markdown because we have HTML tags inside "CLEAN data" at this point. And idk how to do it without forking and changing core code
Need output to markdown and a markdown to input converters for this.
How can we make it work if we don't have the plugins installed like the image plugin?
Actively watching this. Markdown input -> blocks -> output Markdown would be a godsent feature for editor.js
I tied to make my implementation with mdast but this is really hard to maintain "CLEAN data that easy to sanitize, extend and integrate with your logic" with markdown.
Example of clean data:On this page you can see it in action โ try to edit this text.
will be
{ "type": "parahraph", "data": { "text": " On <b>this page</b> you can see it in action โ try to edit this text." } }Which means you literally should re-implement ALL built-in inline tools to support markdown because we have HTML tags inside "CLEAN data" at this point. And idk how to do it without forking and changing core code
@Zulcom I was wondering how they are doing bold and italics and looks like the HTML tags are indeed mixed with the data as seen in the online demo. They say about inline elements in the docs and maybe markdown elements are meant to be inline ๐ค :
I guess they would be following the same approach for markdown as well.
This would be a killer feature ๐๐ฅ๐ช!
editorjs-markdown-parser in awesome-editorjs is not suitable for me, so I created another one: markdown-block
demo:

https://user-images.githubusercontent.com/1308706/104009770-7dcf5600-51e6-11eb-9a4b-61d760aa6623.mp4
Most helpful comment
Hi @NiNJAD3vel0per !
We will work on some converting options in the next releases