You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VS Code needs a UTF-8 with and without encoding (or more friendly with and without BOM) option when you do save with encoding.
More Info
Unlike Notepad++ which has easy to read menu options for encoding or Visual Studio which as Advanced Save Options which clearly spell out UTF-8 with encoding and without encoding, VS Code makes it very tedious to discover if your file has been saved with or without the BOM.
This is critically important when saving markdown files in GitHub and using their pages feature - which renders in Linux via Jekyll - because if you get this wrong (like when saving via Notepad) - you can't easily identify the problem - your page just won't render.
A typical dev test to figure this problem out is to use Notepad++ to check the encoding (or more complex is to run Jekyll locally and read the debug output).
The text was updated successfully, but these errors were encountered:
VS Code needs a UTF-8 with and without encoding (or more friendly with and without BOM) option when you do save with encoding.
More Info
Unlike Notepad++ which has easy to read menu options for encoding or Visual Studio which as Advanced Save Options which clearly spell out UTF-8 with encoding and without encoding, VS Code makes it very tedious to discover if your file has been saved with or without the BOM.
This is critically important when saving markdown files in GitHub and using their pages feature - which renders in Linux via Jekyll - because if you get this wrong (like when saving via Notepad) - you can't easily identify the problem - your page just won't render.
A typical dev test to figure this problem out is to use Notepad++ to check the encoding (or more complex is to run Jekyll locally and read the debug output).
The text was updated successfully, but these errors were encountered: