pkulilboat|公众号:湖畔的赛博格40 downloadsRender task, PRD, and custom tag states on editable nested list blocks.
![]() | Scan the QR code to join our lifelong learning community and discussion groups. Let's exchange ideas about AI, knowledge management, and productivity tools. WeChat Official Account: 湖畔的赛博格 (same name). |
English | 简体中文
Color task, product-decision, and custom-tag states in editable nested lists in Obsidian Live Preview. Child blocks inherit the nearest ancestor state; an explicit child state overrides it. Your Markdown and original tags stay editable.
Task and PRD states in Live Preview: nested items inherit their parent state, and explicit child states override it.

Captured in Obsidian 1.14.4 with the GitHub 0.1.0 release and sample notes in an isolated TEST vault.
- Plan the next release #task/in_progress
- Write the usage guide
- Finish the parser tests #task/done
- Choose a login approach #prd/open/decision
- Phone verification is required #prd/confirmed
The setting follows the file and applies to every pane showing it. Reading view and Source mode keep their native appearance. Disabling rendering or the plugin removes the visual effects.
| Namespace | States |
|---|---|
#task/ |
backlog, todo, in_progress, in_review, blocked, done, cancel |
#prd/ |
open/missing, open/research, open/decision, provisional, confirmed, obsolete |
Task and PRD inheritance are independent. State tags inside inline or fenced code are ignored. Conflicting states are marked for manual resolution; the plugin never advances a state automatically.
You can also edit block-state-renderer.colors.json at the vault root:
{
"version": 1,
"rules": [
{ "tag": "#area/research", "color": "#a78bfa", "enabled": true }
]
}
Custom colors inherit through nested lists. An explicit child color overrides its ancestor. If an item has multiple different custom colors, its tags remain colored but its custom block gradient is suppressed. Built-in task/PRD states take priority for block effects. Invalid JSON preserves the last valid rules.
Requires Obsidian 1.13.0 or later. This initial release is available on GitHub; official directory submission and review must complete before it appears in Community plugins.
For manual installation, download main.js, manifest.json, and styles.css from the latest release, put them in <vault>/.obsidian/plugins/block-state-renderer/ (use your vault's configured settings folder if different), reload Obsidian, and enable Block state renderer. Try the initial release in a test vault first.
The plugin makes no network requests, collects no telemetry, and requires no account. It stores file-level switches and preferences in its plugin settings, and writes the vault-root color-rules JSON when you edit custom rules. It does not rewrite note Markdown. The optional WeChat community is independent of plugin use.
Existing desktop TEST evidence covers light/dark themes, file switches, settings persistence, nested inheritance, custom colors, and disable/reload behavior. Mobile devices, the exact minimum app version, third-party themes, and large-document performance have not been fully tested. The initial gradient design may evolve with feedback.
Bug reports and feature requests are welcome in GitHub Issues. Joining the community is optional and is not required to use the plugin.
npm ci
npm test
npm run typecheck
npm run lint
npm run build
Build output: main.js, manifest.json, and styles.css. Keep dependencies and build commands in the repository; do not edit generated main.js by hand.
0BSD. Build and ESLint configuration are adapted from the official Obsidian sample plugin (0BSD). Runtime rendering uses Obsidian's public editor extension API and CodeMirror.