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
  • Join the community
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Dynamic Line Height for CJK

ryotaushioryotaushio3k downloads

Dynamically adjust line height for lines & paragraphs containing CJK characters.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates12

This Obsidian.md plugin dynamically adjusts the height of each line (in Editing View) or paragraph (in Reading View) based on it contains CJK (Chinese, Japanese, and Korean) characters. This is useful because CJK characters typically require more line height than European alphabets.

Line height for lines and paragraphs containing CJK characters can be set via Style Settings.

Moreover, this plugin adds the .cjk CSS class to lines and paragraphs containing CJK characters. This allows more advanced styling via CSS snippets.

Usage

  1. Install this plugin and enable it.
  2. Install Style Settings and enable it. If it's already enabled, you might need to reload it.
  3. Customize the line height for CJK via Style Settings if necessary. This can be done by either of the followings:
    1. Settings > Style Settings > Dynamic Line Height for CJK > Line height for CJK lines and paragraphs
    2. Command Palette > Run the command "Style Settings: Show style settings view" > Dynamic Line Height for CJK > Line height for CJK lines and paragraphs

Installation

You can find this plugin in the community plugin browser within Obsidian.

You can also install the latest beta release using BRAT.

  1. Install the latest version of BRAT and enable it.
  2. Open the following URL in browser: obsidian://brat?plugin=RyotaUshio/obsidian-dynamic-line-height-cjk.
  3. Click the "Add Plugin" button.
  4. (Optional but highly recommended) In the BRAT settings, turn on Auto-update plugins at startup at the top of the page.

Support development

If you find this plugin useful, please support my work by buying me a coffee!

72%
HealthGood
ReviewSatisfactory
About
Adjust line and paragraph height automatically when text contains CJK characters to improve spacing in Editing and Reading views. Add a .cjk CSS class to those lines for custom styling and set CJK line heights via Style Settings.
CSSAppearanceEditing
Details
Current version
0.2.8
Last updated
2 years ago
Created
2 years ago
Updates
12 releases
Downloads
3k
Compatible with
Obsidian 1.3.5+
License
MIT
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
GitHub Sponsors
Ko-fi
Author
ryotaushioryotaushio
github.com/RyotaUshio
GitHubryotaushio
  1. Community
  2. Plugins
  3. CSS
  4. Dynamic Line Height for CJK

Related plugins

Lapel

Show the heading levels in the gutter of the editor.

Focus Mode

Add a toggle to hide interface elements so you can focus on your note.

Style Settings

Adjust theme, plugin, and snippet CSS variables.

CSS Editor

Edit CSS snippet files.

Contextual Typography

Add a data-tag-name attribute to all top-level divs in preview mode containing the child's tag name, allowing contextual typography styling.

Relative Line Numbers

Enable relative line numbers in editor mode.

Minimal Theme Settings

Control the colors and fonts in Minimal Theme.

Hider

Hide interface elements such as tooltips, status bar, titlebar, and more.

Advanced Tables

Improved table navigation, formatting, and manipulation.

Outliner

Work with your lists like in Workflowy or Roam Research.