/obsidian-double-colon-conceal

Obsidian plugin to display double colon (i.e. Dataview inline fields) as a single colon for more natural reading experience.

Primary LanguageTypeScriptMIT LicenseMIT

Double Colon Conceal GitHub release (latest SemVer) Obsidian Downloads

Obsidian plugin to display double colon (i.e. Dataview inline fields) as a single colon for more natural reading experience.

Reading View

Reading view example

Editing View

Double colon conceal for editing view is turned off by default. Turn it on in the plugin settings if you wish to use it. When active the double colons will be concealed in the live preview as well.

Editing view example

Double colon is not concealed:

  • on active line (line where cursor is placed)
  • within text selection
  • in Source mode

Concealed double colon (single colon) has .cm-double-colon-conceal CSS class attached that could be used to add custom styling. Red text colour was used bellow for demonstration.

Styling example

Install

It is recommended to restart Obsidian after installing and enabling this plugin to prevent any render caching issues. Also double check that the plugin is enabled.

Community Plugins in Obsidian

Plugin is available for download now - search for "Double Colon Conceal".

Manual installation

  1. Download following files from the latest release:
  2. Go to plugins directory in your Obsidian vault - {{vault-root}}/.obsidian/plugins
  3. Create new directory obsidian-double-colon-conceal
  4. Put the manifest.json and main.js into the new directory
    {{vault-root}}/.obsidian/plugins/obsidian-double-colon-conceal
  5. Open Obsidian app and enable the "Double Colon Conceal" plugin in the "Community plugins" in the "Settings"