Help us improve
Share bugs, ideas, or general feedback.
From leyline
Enforces diff-friendly markdown conventions for prose: 80-char hybrid wrapping at sentence/clause boundaries, blank lines around ATX headings, list spacing, and reference links. For generating/editing/reviewing .md docs.
npx claudepluginhub athola/claude-night-market --plugin leylineHow this skill is triggered — by the user, by Claude, or both
Slash command
/leyline:markdown-formattingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Writing or editing any markdown documentation
Provides reference for core Markdown syntax: headings, text formatting, lists, links, images, code blocks, blockquotes. Use when writing or editing Markdown files.
Guides markdown linting with markdownlint-cli2: run checks, fix MD0XX errors, configure .markdownlint-cli2.jsonc rules/ignores, set up VS Code extension and GitHub Actions. Supports GFM/CommonMark for validation and workflows.
Formats plain text or markdown files with frontmatter, titles, summaries, headings, bold, lists, and code blocks. Outputs to {filename}-formatted.md.
Share bugs, ideas, or general feedback.
These conventions apply to all markdown documentation generated or modified by any plugin. The goal: produce prose that creates clean, reviewable git diffs and reads well on mobile devices.
When writing or editing markdown prose:
# Heading, never setext underlines)Wrap these content types at 80 characters:
>)- or 1. )Never wrap or reflow these content types:
```) or indented content#--- or +++[id]: url reference lines on their own lineFor each prose paragraph:
. ! ? ) before column 80, ; : ) before column 80and but or ) before column 80See modules/wrapping-rules.md for the full algorithm with
examples.
WRONG:
Some text.
## Heading
More text.
RIGHT:
Some text.
## Heading
More text.
Exception: the first line of a file may be a heading without a preceding blank line.
WRONG:
Heading
=======
WRONG:
Subheading
----------
RIGHT:
# Heading
RIGHT:
## Subheading
WRONG:
Some introductory text:
- Item one
- Item two
RIGHT:
Some introductory text:
- Item one
- Item two
When an inline link pushes a line beyond 80 characters, use reference-style syntax:
WRONG (line too long):
See the [formatting guide](https://google.github.io/styleguide/docguide/style.html) for details.
RIGHT:
See the [formatting guide][fmt-guide] for details.
[fmt-guide]: https://google.github.io/styleguide/docguide/style.html
Place link definitions at the end of the current section or at the end of the document. When the same URL appears multiple times, use a single shared reference definition.
Short inline links that keep the line under 80 chars are fine:
OK:
See [the guide](https://example.com) for details.