# mdast-cross-reference
**Repository Path**: mirrors_mapbox/mdast-cross-reference
## Basic Information
- **Project Name**: mdast-cross-reference
- **Description**: cross-referencing system in markdown
- **Primary Language**: Unknown
- **License**: ISC
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-08-09
- **Last Updated**: 2025-08-30
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# remark-cross-reference
A poor man's [LaTeX cross-referencing system](https://en.wikibooks.org/wiki/LaTeX/Labels_and_Cross-referencing) in Markdown.
This detects `` anchors and references to them like
`[](#foo)`, and rewrites them to numbered section references.
Rewrites
```md
1. Foo bar
1. Baz
2. This refers to [](#baz)
3. And this refers to [](#bar)
```
To
```md
1. Foo bar
1. Baz
2. This refers to [1.1](#baz)
3. And this refers to [2](#bar)
```