prettier-vscode
prettier-vscode copied to clipboard
'_word' becomes '\_word' in markdown (.md) files
Summary
Short summary of what is going on or to provide context.
I'm trying prettier-vscode to pretty-format markdown.
it does a good job, however, when a word starts with _, then it becomes escaped, and it's not pretty anymore
Github Repository to Reproduce Issue
Link to a Github repo that can be used to reproduce the issue.
Steps To Reproduce:
- This is step 1.
- This is step 2. All steps should start with '1.'
Expected result
Describe what should have happened.
Actual result
Describe what actually happened instead.
Additional information
Feel free to attach a screenshot.
VS Code Version:
Prettier Extension Version:
OS and version:
Prettier Log Output
LOG GOES HERE. DO NOT USE A SCREENSHOT, COPY AND PASTE THE TEXT
This is an issue or feature request for the Prettier library itself rather than the VS Code extension for prettier. Please open an issue at https://github.com/prettier/prettier.
https://prettier.io/playground/#N4Igxg9gdgLgprEAuEB9A7hATgExAGhAgAcYBLaAZ2VAEMssJ0AFehalWgG3VoE9qhAEZZaYANZwYAZVoBbOABkyUOMgBm3SnGGiJU6cTEqA5shhYArjpBw5QuDhyPFtKCcu0TcAGLY5tDDk7sggtJYwEAQgABYwclwA6jFk8JRGYHDS7KlkAG6pfKFglIIgKtpYMMyiJgEaWjYAVpQAHtKmXHAAipYQ8A1c2oRGWJWhAVjiOExQ0cRYKjCJZDgwMcgAHAAMI4zaiaLEoQtwlXlqhACOffA1JBxhlAC0qo6O0VhwN2RfNV71JCaIY2bRyMjmKygzo9W5qIGNQgwWhCFZrDZIABMSNEZC4pgAwhA5IDbJQAKzRSzaAAqKI4wOGIDy1gAklBnLBpGBFqQAIIc6QwPhdQbaAC+4qAA
Apparently, there is already an open issue https://github.com/prettier/prettier/issues/12965