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

Doesn't properly bold text with colon #145

Open
zacharypfiz opened this issue Jun 18, 2024 · 2 comments
Open

Doesn't properly bold text with colon #145

zacharypfiz opened this issue Jun 18, 2024 · 2 comments

Comments

@zacharypfiz
Copy link

Current:
**Omnibus Rule: **Strengthened

Proper:
Omnibus Rule: Strengthened

It is currently showing the ** and not bolding the text or colon.

@evbacher
Copy link
Owner

If you bolded the space in the Google Doc, you will get the second result. I tried this out in a Google Doc and got the same result as you (second line with the space bolded in the Google Doc):

Omnibus Rule: Strengthened
**Omnibus Rule: **Strengthened

I suppose I could try to correct for this error, but I am worried that it may introduce other unintended consequences.

@moiri-gamboni
Copy link

moiri-gamboni commented Aug 28, 2024

I'm also facing this issue, as you said @evbacher it has to do with spaces being bolded (it also applies to italics, btw). But the current output is not valid MDX (which is CommonMark as far as the markdown part goes, from what I understand), and it causes issues with parsing, so I would like to see this changed. And they're not easy to catch from Google docs, you have to convert the markdown and parse it to find extraneous asterisks or underscores.

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

3 participants