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

Prevent empty markdown #499

Open
matheusf31 opened this issue Jun 23, 2023 · 4 comments
Open

Prevent empty markdown #499

matheusf31 opened this issue Jun 23, 2023 · 4 comments

Comments

@matheusf31
Copy link

matheusf31 commented Jun 23, 2023

Is there a way to render a fallback value when I use a empty markdown? Like: if my children is ** then the markdown render empty span. There is a way to tell to te component to ignore it and render exact **?
image
image

@arthur-es
Copy link

I have the same issue

@tonicaval
Copy link

same here

@hyerdev3
Copy link

same here
const boldRegex = /\*(.*?)\*/g;

i've tried this regex and many others but it doesnt work :(

@henrymcl
Copy link

Essentially the same issue here: #541

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

5 participants