docs/developer_guide/markdown_style.md
Standard revision: 1
This document defines the shared Markdown baseline for AgentSkills and repositories that adopt a
local copy. The maintained source is references/markdown-style.md in the AgentSkills repository.
Keep repository copies byte-for-byte identical and put repository-specific additions in a separate
local guide.
The linked specifications are references, not routine prerequisites. Open them only to resolve a concrete parser or renderer ambiguity that the local guide, surrounding content, and markdownlint do not answer.
.markdownlint.jsonc or equivalent local configuration.Generated files, imported third-party documents, and renderer fixtures may use documented repository exclusions.
#, ##, ###, and so on).- for unordered list items.1. for every source item in an ordered list so the renderer supplies the displayed numbers.Example:
- First item
- Second item
1. First step
1. Second step
| ----- |, not |-----|); MD060 does not check this
either.normalize markdown table padding pre-commit hook rewrites tables to this form, so
there is no need to count characters by hand.Example:
| Name | Value |
| ----- | ----: |
| Alpha | 42 |
| Beta | 17 |
text for plain text or output without a more
specific grammar.Example:
```rust
fn main() {
println!("Hello");
}
```
Run cargo test and edit .markdownlint.jsonc.
*italic* for emphasis.**bold** for strong emphasis.Use three hyphens:
---
When generating or modifying Markdown:
ATX headings are enforced through MD003. Repeated 1. ordered-list markers and languages on
opening code fences apply to new or substantially edited content, but MD029 and MD040 remain
disabled until existing documents receive separate mechanical migrations. Do not broaden a narrow
documentation change solely to migrate those existing constructs.