9/7/2023 0 Comments Macdown spell check![]() ![]() "Ignore" will ignore that word and not ask about it again in the current run.Where speling will be highlighted in red. Shows you the context of the speling mistake and gives you options The default interactive mode shows you the context of the spelling mistake and gives you options with what to do about it. The passed filename should not include a file extension and markdown-spellcheck will attempt to load the file with. ![]() Specify a custom Hunspell dictionary to load. ![]() We default to British English but will change in the next major to American. Suggestions are slow at present, so use this to remove them. ![]() My blog posts all contain yaml frontmatter which gives me a great place to place words I want to add/ignore for that file only - this is done with comments and some cspell keywords.Mdspell '**/*.md' '!**/node_modules/**/*.md' Words which are not correct but should be ignored I’ll ignore for that file.Words which are only correct in a specific file I’ll add to that file.Words which are specific to a repo (abbreviations, technical terms) I’ll add to the workspace dictionary (these end up in cspell.json).Words that are probably correct in any context I’ll add to the user dictionary (these end up in the VS Code user settings.json).There are multiple ways to handle this (cspell allows for adding or ignoring words at the user, workspace, file, or block/line level). Handling unknown wordsĪfter you’ve worked through actual spelling mistakes, you’ll likely be left with a lot of unknown words that need to be added to a dictionary or ignored. The options available in the file are documented on the cspell GitHub page. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |