Skip to content

Gremlins 0.8.0

Choose a tag to compare

@xRyul xRyul released this 03 Aug 21:39
· 35 commits to main since this release

Consistent list item endings

Gremlins 0.8.0 adds two opt-in rules for enforcing consistent endings across Markdown list items.

List item punctuation

Choose one of five policies:

  • Match each list automatically
  • No terminal punctuation
  • Periods
  • Semicolons
  • Semicolons with a period on the final item

Automatic matching infers the dominant style independently for each contiguous list and nested level. It also recognizes the conventional semicolon/final-period pattern.

List item line endings

Choose one of three policies:

  • Remove trailing whitespace
  • Require exactly two ordinary spaces for a Markdown hard break
  • Require a blank line between sibling items

Blank-line fixes are inserted after nested subtrees, and no separator is added after the final sibling.

Markdown-aware behavior

  • Supports unordered, ordered, task, nested, multiline, and blockquoted lists.
  • Checks the final content line of multiline items.
  • Keeps inline code, links, Obsidian block IDs, fenced code, frontmatter, and other literal Markdown safe.
  • Handles escaped punctuation and unusual Unicode trailing spaces without overlapping fixes.
  • Integrates with editor highlights, hover tooltips, gutter warnings, click-to-fix, and the fix command.

Configuration

Both rules are disabled by default. Configure them under Settings → Gremlins → List item punctuation and List item line endings. To repair highlighted items from the gutter, also enable Gutter icons and Click gutter icons to fix.