Skip to content

Gremlins 0.6.0

Choose a tag to compare

@xRyul xRyul released this 03 Aug 15:13
· 37 commits to main since this release

Ambiguous empty list markers

Gremlins 0.6.0 adds an opt-in Ambiguous empty list markers rule for list lines containing a lone hyphen with no following delimiter.

In this pattern, Obsidian can interpret the hyphen as a Setext level-two heading underline instead of an empty list item:

2. **Audit trail**
    -
    - Primarily supports traceability and internal audit.

Clicking the Gremlin gutter icon inserts one ordinary ASCII space after the lone hyphen, changing - to - so Obsidian parses it as an explicit empty list item.

Safeguards

  • Detection requires a following dash item at exactly the same indentation.
  • The preceding line must be either the parent list item or a same-level dash item.
  • Parent marker width and delimiter spacing are respected, including multi-digit ordered markers.
  • Blockquotes and callouts are supported.
  • Ordinary Setext headings, code, comments, frontmatter, math, and other literal Markdown regions are ignored.
  • The rule is disabled by default and never modifies a note automatically.

Configuration

Enable Settings → Gremlins → Ambiguous empty list markers. To repair highlighted lines from the gutter, also enable Gutter icons and Click gutter icons to fix.