Section Meter

by Martino Wong
5
4
3
2
1
Score: 51/100

Description

Live word counts, character counts, reading time, and writing-goal progress for every section in Obsidian.

Reviews

  • Martino Wong
    Reviewed on Sep 15th, 2026
    No review text provided.

Stats

1
stars
1,456
downloads
0
forks
104
days
2
days
2
days
1
total PRs
0
open PRs
0
closed PRs
1
merged PRs
3
total issues
0
open issues
3
closed issues
49
commits

Latest Version

2 days ago

Changelog

  • Bugfix: Note-title stats no longer overlap the first line or interfere with title editing.
  • Bugfix: The mobile target meter responds to the first tap and edits the target currently displayed.
  • Bugfix: Statistics correctly follow the active note when multiple panes are open.
  • Bugfix: Improved target-reached notifications when editing or switching notes.
  • Bugfix: Corrected counting and section boundaries around comments and horizontal rules.
  • Bugfix: Improved settings updates and cleanup when disabling the plugin.

README file from

Github

Section Writing Stats

Section Writing Stats for Obsidian

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

At a glance

Section Writing Stats showing live word counts, character counts, reading time, and writing-target progress beside headings in Obsidian

  • See live statistics beside headings, in the note title or in the status bar
  • Track words, characters, and estimated reading time.
  • Add writing targets (words, characters, or reading time) for the whole note or an individual section.
  • Customize which statistics and labels are displayed.
  • Pause or resume all plugin counting and UI with Toggle plugin on/off in the command palette.

How sections are counted

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.

Writing targets

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:

  • Set or edit whole-note writing target
  • Set or edit current-section writing target
  • Remove whole-note writing target
  • Remove current-section writing target

Choose words, characters, or reading time in the target dialog. Existing targets are filled in automatically when you edit them.

Targets in Markdown

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 words
  • Target: 1800 characters
  • Target: 3 min
  • Target: 3m
  • Target: 2m 30s

Target 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.

What is counted

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:

  • YAML frontmatter
  • Fenced and inline code
  • Embeds
  • Comments and HTML
  • Writing-target lines

Character counts can include or exclude spaces. Reading-time estimates use an adjustable words-per-minute setting.

Display and settings

You can configure:

  • Word count, character count, and reading-time visibility
  • Heading badges, title badges, and status-bar statistics
  • Compact labels and custom separators
  • Count, percentage, or remaining target labels
  • Reading speed and character-count spacing
  • The target overage warning threshold
  • Whether empty or very short sections show badges
  • Whole-note and selected-text status-bar statistics

Limitations

  • Statistics are shown in the editor, not Reading view.
  • Counts are based on fast Markdown cleanup rather than Obsidian's complete renderer. Content produced by other plugins, rendered transclusions, and complex mathematics may differ slightly from what is visible on screen.

Installation

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.

Manual installation

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.

Development

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.

To install the local build and the canonical regression note into your existing test vault:

npm run build:local
SECTION_METER_TEST_VAULT="/absolute/path/to/test-vault" npm run install:test-vault

The installer replaces Section Writing Stats test cases.md with the repository's fixture. Use Live Preview to check title/heading editing, target inheritance, comment exclusions, and horizontal rules. With two Markdown panes open, verify that the status bar follows the active pane and that tapping the mobile meter edits the displayed target rather than the cursor's section. Disable the plugin and confirm its title badges disappear without changing the note title.

License

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.