Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown blocks in editor #389

Open
sidemt opened this issue Dec 14, 2023 · 7 comments
Open

Markdown blocks in editor #389

sidemt opened this issue Dec 14, 2023 · 7 comments

Comments

@sidemt
Copy link
Member

sidemt commented Dec 14, 2023

This is based on feedback from Abbey.

is there a way to insert a markdown block in the editor like how Ghost does? Again, lots of authors write in markdown and would want this. Allows for more specific manipulation like making multi-tiered lists, for example (like a numbered list with a bulleted list within it, if that makes sense).

In Ghost, we can insert a markdown block like this:

Image

It renders like this:

Image

@Sembauke
Copy link
Member

Markdown blocks are the same as code blocks.

@Sembauke
Copy link
Member

Sembauke commented Feb 2, 2024

closed by #418

@Sembauke Sembauke closed this as completed Feb 2, 2024
@sidemt
Copy link
Member Author

sidemt commented Feb 4, 2024

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.

@sidemt sidemt reopened this Feb 4, 2024
@Nirajn2311
Copy link
Member

So this block would allow the authors to paste markdown which is then converted to HTML, right?

@sidemt
Copy link
Member Author

sidemt commented Feb 6, 2024

So this block would allow the authors to paste markdown which is then converted to HTML, right?

Yes.

@Sembauke
Copy link
Member

Sembauke commented Feb 7, 2024

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.

@Nirajn2311
Copy link
Member

Nirajn2311 commented Feb 10, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants