Martino Wong524 downloadsShows stats (wordcount, reading time) beside headings and in the status bar

Live word counts, character counts, reading time, and writing-target progress for every section of an Obsidian note.
Section Writing Stats places a small, continuously updated badge beside the note title and each Markdown heading. It helps you check the length of a chapter, scene, article section, or complete note without interrupting your writing.
Install from Obsidian Community Plugins · Visit the website · View the latest release

A section begins at a heading and ends immediately before the next heading of the same or a higher level.
Parent headings include their nested subsections. In this example, Chapter one includes the introduction and both scenes, while each scene badge counts only that scene:
# Chapter one
Introduction...
## First scene
Scene text...
## Second scene
More text...
This follows the structure of the Markdown document, so lower-level headings remain part of the section above them.
The easiest way to manage a target is through the command palette. Place the cursor in the relevant section and run one of these commands:
Choose words, characters, or reading time in the target dialog. Existing targets are filled in automatically when you edit them.
Targets are stored as ordinary Target: lines, so they remain visible and portable with the note. A whole-note target goes before the first heading, after YAML frontmatter if the note has any:
Target: 1200 words
# My draft
Start writing here...
A section target goes beneath its heading:
# Introduction
Target: 250 words
Introduction text...
## Background
Target: 1800 characters
Background text...
Supported formats include:
Target: 250 wordsTarget: 1800 charactersTarget: 3 minTarget: 3mTarget: 2m 30sTarget lines are excluded from the statistics. A parent target covers the complete parent section, including nested headings. A nested section can define its own target, which takes priority while the cursor is inside that section.
Progress bars update while you write. They change colour as the target approaches, turn green when it is reached, and turn red after the configured overage threshold.
Section Writing Stats is designed to measure readable prose rather than Markdown syntax.
It counts text in paragraphs, lists, blockquotes, links, and table cells. It excludes:
Character counts can include or exclude spaces. Reading-time estimates use an adjustable words-per-minute setting.
You can configure:
Section Writing Stats 1.1.0 and newer requires Obsidian 1.13 or newer.
Install Section Writing Stats from Settings → Community plugins → Browse in Obsidian, or open its Community Plugins page.
Download main.js, manifest.json, and styles.css from the latest release, then place them in:
.obsidian/plugins/section-meter/
Restart Obsidian—or reload the installed plugins—and enable Section Writing Stats under Community plugins.
npm install
npm test
npm run lint
npm run build
For local testing, copy or symlink the repository into .obsidian/plugins/section-meter, build the plugin, and enable it in Obsidian.
Section Writing Stats is available under the MIT License.
Created by Martino Wong with AI tools. This is an independent community plugin and is not affiliated with, endorsed by, or sponsored by Obsidian.