samhstn / my-config

16 stars 0 forks source link

Fix pesky ASCII 160 (non-breaking space) character in markdown #72

Closed samhstn closed 5 years ago

samhstn commented 5 years ago

Due to using the wrong space character (don't know how this initially happened), markdown headers are not displaying or linking correctly

Screenshot 2019-03-09 at 17 18 12

These should be changed for a unicode ASCII 32 space character which will render correctly

Screenshot 2019-03-09 at 17 20 08

nelsonic commented 5 years ago

I'd love to understand why ASCII 160 gets inserted instead of ASCII 32 ever in the context of hitting the space bar in a text editor. 🤔

samhstn commented 5 years ago

So, I realised how this happens. A # symbol is typed with Alt + 3 If you keep the Alt key pressed when you type <space> it will result in an ASCII 160 char not an ASCII 32 char

nelsonic commented 5 years ago

Great detective work @samhstn 💡