Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Article Info Inserter

gbt777gbt7771k downloads

文章信息追加器:一键插入/更新自动统计信息或自定义内容,含文字/图片/特殊块统计、编辑标记、自定义图文、文章结构思维导图。Article Info Inserter: insert auto-counted stats or custom content into frontmatter、article; one click re-counts all. Mind map included.

Add to Obsidian
Article Info Inserter screenshot
Article Info Inserter screenshot
Article Info Inserter screenshot
Article Info Inserter screenshot
Article Info Inserter screenshot
  • Overview
  • Scorecard
  • Updates10

中文完整图文使用教程 →

文章信息追加器:在文章的属性区、开头三行、末尾三行,按照你的设置,一键插入自动统计出来的文档信息、或者你的自定义内容;点一下更新,这些内容还会按照文章当前状态重新统计、自动变更。这些信息包括:文字统计,图片统计,各种特殊块统计,编辑标记,作者名,自定义文字、图片、链接,自动生成“文章结构思维导图”。以上可插入内容都拥有丰富的自定义选项,可按你的喜好 DIY。

Article Info Inserter 3.0


English

Article Info Inserter is an Obsidian community plugin. With one click it inserts auto-counted document info — or your own custom content — into the note's frontmatter, its first three lines, or its last three lines, exactly as you configure it. Press Update and everything is re-counted from the note's current state; the previous insertion is replaced in place, so nothing is duplicated.

What you can insert: word, image and block statistics, edit marks, author name, custom text, images and links, plus an auto-generated article structure mind map. Every one of them comes with rich customization options — DIY it however you like.

What it can insert

Group Available items
Text stats word count, character count, reading time, page count
Image stats total images, local images, network images
Blocks embeds, links, comments, footnotes, code blocks
Edit marks created time, modified time (date-only or full timestamp), author
Fixed media 4 configurable link / image slots
Free form 3 custom text slots
Content frame the article structure mind map (3.0)

Every item is optional, orderable, and styleable. Up to 3 lines can be inserted at the head and 3 at the tail (6 in total), each with its own alignment and indentation.

Article structure mind map (new in 3.0)

Point the plugin at a note and it draws the outline as an SVG mind map, inserts the image link, and refreshes it whenever the outline changes — no more screenshotting a mind-map plugin by hand.

Structure diagram

  • Three layouts — horizontal (a comb), vertical (roots running downward), and radial (branching out from the article title).
  • Global style + per-level overrides. Set the look once globally; every level follows. Then fine-tune individual levels in the custom matrix.
  • Color schemes — solid, shade ramp, analogous, complementary, contrast, triadic, and rainbow, driven by a base color; with strength (0–10), dimension (by level / by chapter), and direction (forward / reverse).
  • Connectors — line shape (arc, right angle, straight), width, curvature, and optional joint dots.
  • Node boxes — capsule, rounded, rectangle, underline, or none, with fill, stroke, stroke width, text alignment, text position, and equal-width columns.
  • Backgrounds — solid, several gradients, or your own custom gradient.
  • Line wrapping — cap a line by character count, or split a label into N lines.
  • Radial angle system — a start angle and a per-sibling offset angle; the plugin widens the angles (and only then the radius) when the diagram does not fit.

Installation

From the community plugin market (recommended)

  1. Settings → Community plugins → Browse;
  2. search Article Info Inserter or 文章信息追加器;
  3. install and enable.

Manual install

  1. Download main.js and manifest.json from Releases;
  2. put them in <vault>/.obsidian/plugins/article-info-inserter/;
  3. enable the plugin under Community plugins (restart Obsidian if it does not appear in the list).

Quick start

  1. Open any Markdown note.
  2. Run Update article info (ribbon icon, command palette, or your own hotkey).
  3. The configured info lines are inserted at the head and/or tail of the note.
  4. Open the plugin settings to change what is counted, which items are shown, how they are aligned, and which images or links are inserted.
  5. Run Update article info again after editing — the block is replaced, not appended.

Settings at a glance

  • Append content — count of head/tail lines, the item picked for each slot, alignment, indentation, and the Frontmatter policy (the blue dropdowns).
  • Statistics rules — how words are counted: punctuation, code blocks, comments, links, embeds, LaTeX, emoji, and so on.
  • Display customization — bold, italic, and color per element, plus the custom text used for each slot.
  • Article structure — layout, global style, per-level overrides, and the background/gradient options for the mind map.
Append content Statistics rules Global and per-level styles
Settings Statistics rules Global and per-level styles

Also available: four independent presets you can switch between with one click (one per platform, for example), a bilingual UI (Chinese / English), and no automatic refresh — updating is always an explicit action.

Frontmatter policy

For each slot you can choose what happens to the note's Frontmatter:

Option Effect
Leave do nothing, keep the Frontmatter as it is
Write create the field and write the value
Delete remove the field and its value
Clear keep the field but empty its value

This lets tools that read Frontmatter — the built-in Bases, Dataview, and similar — query the numbers the plugin computed.

Note: the plugin writes its own computed values into the Frontmatter. It does not read and display your existing properties. Editing Frontmatter is not the plugin's focus; if you need fine-grained property management, use a dedicated plugin.

Styling and Word / DOCX export

Info lines are written as a single-line HTML block, <div data-aii="marker">…</div>. On each update the plugin removes the block it inserted last time under that marker and re-inserts the fresh one, so your own text is never touched. Bold, italic, and color can be applied per element, and the resulting line exports cleanly to PDF and HTML.

Exporting to Word / DOCX with those styles preserved takes one extra step — an optional Pandoc filter pack shipped in optional/word-export/. Without custom styling no extra step is needed.

Word export
Word export

Good to know

  • Desktop only. The plugin uses Node crypto and fs for image MD5 de-duplication and for copying images into your attachment folder, so it is marked isDesktopOnly: true and does not run on mobile.
  • File system access is limited to that: reading a configured image path, computing its MD5, and copying it into the vault. Nothing outside the vault is modified.
  • Images are de-duplicated by content MD5. Images have no surrounding marker of their own, so the plugin compares the MD5 of nearby images: a match means "this is mine, replace it", a mismatch means "this is yours, leave it alone". If you swap an inserted image by hand, delete it manually once.
  • One image per line. A line holding more than one image (or other content) cannot render in full; the plugin warns you, and the warning can be turned off.
  • Radial layouts are the least predictable. Well-balanced outlines look great; lopsided ones can look odd. Horizontal is the most stable choice for long, deeply nested notes.
  • Statistics exclude the plugin's own output. Before counting, the previous insertion is removed so the numbers describe only what you wrote. Images are the exception — you decide whether plugin-inserted images count.

Repository layout

Path Purpose
main.js, manifest.json the plugin itself
docs/中文使用教程.md full Chinese walkthrough
docs/release-notes-*.md per-version release notes
optional/word-export/ Pandoc filters for styled DOCX export
PUBLISH.md release process notes for maintainers

License

MIT

HealthExcellent
ReviewSatisfactory
About
文章信息追加器:在文章的属性区、开头三行、末尾三行,按照你的设置,一键插入自动统计出来的文档信息、或者你的自定义内容;点一下更新,这些内容还会按照文章当前状态重新统计、自动变更。这些信息包括:文字统计,图片统计,各种特殊块统计,编辑标记,作者名,自定义文字、图片、链接,自动生成“文章结构思维导图”。以上可插入内容都拥有丰富的自定义选项,可按你的喜好 DIY。 Article Info Inserter is an Obsidian community plugin. With one click it inserts auto-counted document info — or your own custom content — into the note's frontmatter, its first three lines, or its last three lines, exactly as you configure it. Press Update and everything is re-counted from the note's current state; the previous insertion is replaced in place, so nothing is duplicated. What you can insert: word, image and block statistics, edit marks, author name, custom text, images and links, plus an auto-generated article structure mind map. Every one of them comes with rich customization options — DIY it however you like.
WritingPropertiesImages
Details
Current version
3.0.0
Last updated
Last month
Created
3 months ago
Updates
10 releases
Downloads
1k
Compatible with
Obsidian 1.0.0+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
gbt777gbt777gbt777
GitHubgbt777
  1. Community
  2. Plugins
  3. Writing
  4. Article Info Inserter

Related plugins

Featured Image

Automatically set a featured image property in your notes based on the first image.

Pretty Properties

Makes note properties look more fun: adds side image, banners, list property colors and allows to hide specific properties.

Advanced Canvas

Supercharge your canvas experience. Create presentations, flowcharts and more.

LanguageTool Integration

Advanced grammar and spell checking, powered by LanguageTool.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

ChatGPT MD

A seamless integration of ChatGPT, OpenRouter.ai and local LLMs via Ollama into your notes.

Force note view mode

Force the view mode for a note by using frontmatter: YAML block with 'obsidian_ui_mode' as key.

Update modified date

Automatically update a frontmatter modified date field when the file is modified.

TTRPG Tools - Maps

A toolbox for interactive fantasy maps.

Typewriter Mode

Typewriter scroll, writing focus, current line highlight, paragraph dimming, and more!