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

Liuyao

Kasukabe TsumugiKasukabe Tsumugi213 downloads

Render Liuyao hexagrams from fenced code blocks.

Add to Obsidian
Liuyao screenshot
  • Overview
  • Scorecard
  • Updates13

This plugin renders six-line divination diagrams in Obsidian from a fenced liuyao code block.

Recent Updates

0.4.1 Released

  • Enhanced copyright watermark with author attribution and year
  • Improved type declarations for better type safety
  • Minor styling improvements to watermark display

0.3.x Released

  • Watermark enhancements for proper attribution

0.2.x Released

  • Color customization for dynamic Yaos

Supported Syntax

```liuyao
  123123
```

The liuyao block can also include a date on the first non-empty line and the hexagram input on the second line:

```liuyao
  2026-05-05 22:03
  332112
```

It will be rendered like liuyao block

Rules

  • The input must contain exactly 6 digits.
  • Each digit must be one of 0, 1, 2, or 3.
    • 0: old yin, 老阴
    • 1: young yang, 少阳
    • 2: young yin, 少阴
    • 3: old yang, 老阳
  • The first digit is the bottom line, and the sixth digit is the top line.
  • The plugin looks up the matching hexagram metadata from src/core/common.ts.
  • A liuyao block may optionally use the first non-empty line as a date and the second non-empty line as the hexagram input.
  • The hexagram input also supports 6 trigram names, such as 坤坎离离震兑.

The rendered card shows:

  • The six gods on the far left when a valid date is provided
  • The family and hexagram name at the top, such as 乾宫 乾为天
  • The line relation text on the left of each line
  • The 世 or 应 marker on the right when present
  • A copyright watermark at the bottom left: v{VERSION} © {YEAR} Kasukabe Tsumugi. All Rights Reserved.

Watermark

Each rendered divination card includes a copyright watermark in the bottom left corner. The watermark displays:

  • The current plugin version
  • The current year
  • Author attribution: "Kasukabe Tsumugi"

This watermark is styled with the .kasukabe-watermark CSS class and can be customized if needed.

Development

The source entry is src/main.ts, and build artifacts are written to dist/.

  1. Install dependencies: pnpm install
  2. Build the plugin: pnpm build

The build produces:

  • dist/main.js
  • dist/manifest.json
  • dist/styles.css

Copy those three files into your vault at .obsidian/plugins/liuyao/.

HealthExcellent
ReviewSatisfactory
About
Render six-line liuyao divination diagrams from fenced liuyao blocks using a six-digit code or trigram names and an optional date. Show six gods when a date is present, display family and hexagram name, annotate each line with relation text, and mark 世 or 应 when applicable.
VisualizationAnnotationDates
Details
Current version
0.5.3
Last updated
4 weeks ago
Created
4 months ago
Updates
13 releases
Downloads
213
Compatible with
Obsidian 1.5.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
Kasukabe TsumugiKasukabe Tsumugikasukabe-tsumugi
GitHubbaendlorel
  1. Community
  2. Plugins
  3. Visualization
  4. Liuyao

Related plugins

Prisma Calendar

Prisma turns any note with a date into a flexible planning system inside Obsidian. There are no rigid schemas or predefined structures — just your data, your rules, fully under your control.

Yearly Glance

Year at a glance - overview of annual events with customizable management options.

Markwhen

Create timelines, gantt charts, calendars, and more using markwhen.

Image Layouts

Add beautiful image layouts to your notes.

Chessboard Viewer

Render chess positions diagrams in note preview.

Advanced Canvas

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

Excalidraw

Visual PKM powerhouse. Create and edit Excalidraw drawings.

Breadcrumbs

Visualise the hierarchy of your vault using a breadcrumb trail or matrix view.

Thino

Quickly capture memos and display them in the sidebar with a heatmap. (Closed source)

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.