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

HR Timestamp

JhihJianJhihJian79 downloads

Converts long dashed divider input into timestamped dividers in Reading view and Live Preview.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

HR Timestamp is an Obsidian plugin that converts long dashed divider input into a timestamped divider.

Type a line with four or more hyphens and press Enter:

----------

The plugin replaces it with:

--- *2026-06-12 09:30*

In Reading view and Live Preview, that timestamp line is rendered as a horizontal divider with the timestamp centered in the rule. The Markdown source remains a single plain-text line, so it stays portable and easy to edit.

Features

  • Converts only full lines with four or more hyphens.
  • Leaves standard --- horizontal rules unchanged.
  • Ignores dashed lines inside fenced code blocks.
  • Uses local time in YYYY-MM-DD HH:mm format.
  • Renders --- *YYYY-MM-DD HH:mm* as a timestamped divider in Reading view and Live Preview.
  • Shows the original source line while the Live Preview cursor is on that line, so editing and deletion stay predictable.

Manual installation

Download main.js, manifest.json, and styles.css from the latest GitHub Release and place them in your vault:

.obsidian/plugins/hr-timestamp/

Then enable HR Timestamp from Obsidian's Community plugins settings.

Development

npm ci
npm test
npm run build

中文说明

在 Obsidian 编辑器中输入整行 4 个及以上连字符并按 Enter,例如:

----------

插件会自动转换为:

--- *2026-06-12 09:30*

在 Obsidian 阅读视图和 Live Preview 编辑器中,插件会把这一行渲染为带时间标签的分割线。Markdown 源码仍保持上面的单行格式。

规则

  • 只转换整行 4 个及以上 -,前后可以有空格。
  • 不转换普通正文中的连续连字符。
  • 不转换标准 ---。
  • 不转换围栏代码块内部的内容。
  • 时间格式为本机当前时间 YYYY-MM-DD HH:mm。
  • 只特殊渲染 --- *YYYY-MM-DD HH:mm*,普通单独的 --- 分割线不受影响。
  • Live Preview 中光标进入该行时显示源码,光标移开后恢复时间分割线渲染,避免影响删除和编辑。

手动安装

从最新版 GitHub Release 下载 main.js、manifest.json 和 styles.css,复制到你的 vault:

.obsidian/plugins/hr-timestamp/

然后在 Obsidian 的社区插件设置中启用 HR Timestamp。

HealthExcellent
ReviewPassed
About
Convert lines of four or more hyphens into a single-line timestamped divider in YYYY-MM-DD HH:mm local time. Render the timestamp centered in Reading view and Live Preview while keeping the Markdown source editable as one plain line. Ignore standard --- rules and fenced code blocks, and show the original source while the Live Preview cursor is on the line for predictable editing.
FormattingDates
Details
Current version
0.1.3
Last updated
2 months ago
Created
2 months ago
Updates
3 releases
Downloads
79
Compatible with
Obsidian 1.5.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
JhihJianJhihJianjhihjian
GitHubjhihjian
  1. Community
  2. Plugins
  3. Formatting
  4. HR Timestamp

Related plugins

Date Inserter

Insert a date at the cursor position using a calendar.

Tasks

Track tasks across your vault. Supports due dates, recurring tasks, done dates, sub-set of checklist items, and filtering. Maintained by Clare Macrae and Ilyas Landikov, created by Martin Schenck.

Day Planner

Turn tasks from daily notes, the Tasks plugin, and calendars into time blocks on an editable timeline, with built-in time tracker.

Admonition

Admonition block-styled content.

Update modified date

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

Full Calendar Remastered

Complete Calendar HUB experience. Work with all your calendars in one place. Analyze your time and take action!

Linter

Format and style your notes. Linter can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular Markdown contents like list, italics, and bold styles; and more with the use of custom rule options.

Sort and Permute lines

Sort and Permute lines in whole file or selection.

LifeOS

Life management system.

Day Planner OG

Day planning from a simple task list in a Markdown note (bare bones, preserves the features and behavior of the original plugin).