github/cmark-gfm

Support Non-Breaking Spaces in GitHub Flavoured Markdown

noah-nuebling opened this issue · 1 comments

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

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.