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

Support Non-Breaking Spaces in GitHub Flavoured Markdown #346

Open
noah-nuebling opened this issue Aug 2, 2023 · 1 comment
Open

Support Non-Breaking Spaces in GitHub Flavoured Markdown #346

noah-nuebling opened this issue Aug 2, 2023 · 1 comment

Comments

@noah-nuebling
Copy link

noah-nuebling commented Aug 2, 2023

Hi!

I'm working on an autogenerated markdown file for my repo. I want to have non-breaking spaces in the rendered markdown on the GitHub website. However, I can't figure out a way to achieve this.

Using the markdown previewer in VSCode with the "Markdown Preview Github Styling" plugin, it looks exactly how I want, but on GitHub I can't get it to work.

Source code

CleanShot 2023-08-03 at 01 00 17@2x

GitHub

CleanShot 2023-08-03 at 01 00 38@2x

VSCode (How I want it to look)

CleanShot 2023-08-03 at 01 00 55@2x
@noah-nuebling noah-nuebling changed the title Support non-breaking spaces in GitHub flavoured markdown Support non-breaking spaces in GitHub Flavoured Markdown Aug 2, 2023
@noah-nuebling noah-nuebling changed the title Support non-breaking spaces in GitHub Flavoured Markdown Support Non-Breaking Spaces in GitHub Flavoured Markdown Aug 2, 2023
@noah-nuebling
Copy link
Author

New info: The nbsp's worked for a little bit! This was after the theme switched from light mode to dark mode during time of day changing. Then I manually switched to darkmode and it was broken again. I switched to light mode again and it it is still not working. I don't know what's going on. I was using the 'Light default' and 'Dark default' GitHub themes.

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

1 participant