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

Allow live rendering of markdown without split screen #378

Open
DoneDeal0 opened this issue Apr 21, 2022 · 6 comments
Open

Allow live rendering of markdown without split screen #378

DoneDeal0 opened this issue Apr 21, 2022 · 6 comments

Comments

@DoneDeal0
Copy link

Hi,

Great lib! So, the markdown rendering is visible in "live" mode (split-screen) and "preview" mode (no split screen, but no edition allowed). Would it be possible to allow markdown edition while immediately seeing the result live?

@jaywcjlove
Copy link
Member

@DoneDeal0 I didn't understand your needs.

@DoneDeal0
Copy link
Author

DoneDeal0 commented Apr 21, 2022

The idea would be to see changes immediately on the text area. For example:

  • I type hello world in the text area
  • I select the substring world
  • I click on the bold button in the toolbar.
  • The text area should display hello world instead of hello **world**.

Currently, the only way to see the changes visually is to click on the preview or live mode, which either doesn't allow any edition, or display a split screen. It would be much easier to have a simple screen with an editable formatted markdown text.

@jaywcjlove
Copy link
Member

At present, this editor cannot satisfy your idea.

You can try lexical, it supports React

@DoneDeal0

@DoneDeal0
Copy link
Author

I've tried Lexical but it's not that great. It export a tree of nodes instead of a simple template string.

@MadsFrost
Copy link

MadsFrost commented May 24, 2022

I've tried Lexical but it's not that great. It export a tree of nodes instead of a simple template string.

Hi, is it possible to keep me posted if you find anything for this? I've been searching the whole day. @DoneDeal0

@The-Code-Monkey
Copy link

This is something that I would like too, the ability to edit and write anything you can in the markdown window in the preview one would be great. as that would more resemble the style that wordpress can achieve.

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

No branches or pull requests

4 participants