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
When running npm run prettier, Prettier accidentally changes the asterisk* (used for representing multiplication) into - or _, as it thought that those * indicates a bulleted list or italic letters
Demo:
// Before running `npm run prettier`
* Giga or G (=1024M): 1 Gigabyte = 1024 * 1024 * 1024 bytes ~ 10<sup>9</sup> bytes
// After running `npm run prettier`
* Giga or G (=1024M): 1 Gigabyte = 1024 _ 1024 _ 1024 bytes ~ 10<sup>9</sup> bytes
Suggested Solutions:
For anyone who is working on parts of #18 , make sure to have Prettier installed with the above settings, and ran npm run prettier after you have finished making changes to the Markdown. Locate any special characters that you don't want to be formatted by Prettier and escapes them with \.
Places with the bug:
docs/A-Introduction/information.md
The text was updated successfully, but these errors were encountered:
This is a sub-issue of #18 and #24.
Settings
Prettier config file:
Prettier ignore file:
Scripts:
Problem
When running
npm run prettier
, Prettier accidentally changes the asterisk*
(used for representing multiplication) into-
or_
, as it thought that those*
indicates a bulleted list or italic lettersDemo:
Suggested Solutions:
For anyone who is working on parts of #18 , make sure to have Prettier installed with the above settings, and ran
npm run prettier
after you have finished making changes to the Markdown. Locate any special characters that you don't want to be formatted by Prettier and escapes them with\
.Places with the bug:
docs/A-Introduction/information.md
The text was updated successfully, but these errors were encountered: