2.0.0 • Published 8 years ago

remark-cross-reference v2.0.0

Weekly downloads
2
License
ISC
Repository
-
Last release
8 years ago

remark-cross-reference

A poor man's LaTeX cross-referencing system in Markdown.

This detects <a name='foo'></a> anchors and references to them like [](#foo), and rewrites them to numbered section references.

Rewrites

1.  Foo bar
    1.  <a name='baz'></a> Baz
2.  <a name='bar'></a>This refers to [](#baz)
3.  And this refers to [](#bar)

To

1.  Foo bar
    1.  <a name='baz'></a> Baz
2.  <a name='bar'></a>This refers to [1.1](#baz)
3.  And this refers to [2](#bar)