Open sidemt opened 7 months ago
Markdown blocks are the same as code blocks.
closed by #418
Sorry, we still need this. It's different from code blocks.
Code blocks display the code as-is, but these markdown blocks should render the markdown into corresponding HTML.
So this block would allow the authors to paste markdown which is then converted to HTML, right?
So this block would allow the authors to paste markdown which is then converted to HTML, right?
Yes.
But the editor has all the functionality of markdown? The markdown always gets converted into HTML.
This is like adding another editor inside the editor.
I tried out the markdown block feature in Ghost which just basically makes a part of the editor into a markdown editor and that's like what Sem said, another editor inside the editor. Instead of giving small blocks for writing markdown, why don't we show a toggle button that will let the author type in formatted text or raw Markdown for the whole post. This way we can even address the points in #386
This is based on feedback from Abbey.
In Ghost, we can insert a markdown block like this:
It renders like this: