This is an unofficial, community-made directory. Not affiliated with Obsidian or Dynalist Inc.
Actively maintainedDeveloperintermediate

Contextual Typography for Obsidian

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

Chinese summary

在预览模式下为所有顶级div添加data-tag-name属性,该属性包含子元素的标签名,从而实现上下文字体样式定制。

Key Use Cases

  • Customizing font styles based on the type of content (e.g., headings, paragraphs, lists)
  • Creating context-aware CSS rules for better visual hierarchy

Pros

  • Provides a simple way to target specific child elements via CSS
  • Enhances flexibility for theming and custom styling without complex selectors

Limitations

  • Requires CSS knowledge to utilize effectively
  • May add extra attributes that could affect performance or clutter markup

Tags

cssstylingthemingpreviewattributes

Related Plugins

ActiveDeveloper
2.5M downloads

Git

Git plugin automatically backs up your Obsidian vault to a Git repository on a schedule. It's the go-to backup and version control solution for technical users who want full history of their notes.

ActiveDeveloper
2.3M downloads

Style Settings

Allows users to adjust CSS variables of themes, plugins, and custom snippets directly from an intuitive settings panel.

ActiveDeveloper
724K downloads

BRAT

Easily install a beta version of a plugin for testing within Obsidian.