Markdown & Quarto Word CountThis VS Code extension allows users to count the number of words in Markdown, Quarto, R Markdown, and plain text documents. The extension filters out several elements such as YAML metadata, code chunks, inline R code, HTML comments, and LaTeX figures and tables to provide accurate word counts. This extension can only count words in supported document types with the extensions Features
ConfigurationThis extension supports enabling or disabling its functionality via VS Code settings. You can control whether the word count is displayed in the status bar for each project or globally across all projects. To enable or disable the extension, add the following setting to your
Set the value to UsageTo use this extension, open a Markdown, Quarto, R Markdown, or plain text document in VS Code and run the
The extension will display the word count in the status bar. If you have selected text in the editor, it will also show the number of selected words. Supported Languages and File ExtensionsThis extension supports the following languages and file extensions:
If you open a file that does not have one of these extensions, the status bar item will not appear. NotesThis extension counts words based on the text content of the document. It does not include any formatting elements, such as headings, bold or italic text, or hyperlinks. If you use other elements in your Markdown, Quarto, or R Markdown documents, such as footnotes or citations, they will not be counted as words. This extension only counts words based on the visible text in the document. This extension does not count words in images, LaTeX equations, or other non-text elements in your document. ContributingIf you want to contribute to this project, please read the contribution guidelines first. AcknowledgmentsThis extension was inspired by the LicenseThis extension is licensed under the MIT License. See the |