New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

markdown-it-toc-and-anchor

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdown-it-toc-and-anchor - npm Package Versions

2

4.2.0

Diff

Changelog

Source

4.2.0 (2019-01-01)

Bug Fixes

  • better empty heading check, #34, #36, #45 (00ddf0b)
  • remove potential infinite loop, DDOS vector (1e55cc1)
  • restore class methods on Token objects (b1b8855)
  • change typography option to typographer, #38, thanks cesalberca
  • nested anchors support, #46, thanks watagashi

Features

  • add anchorLinkPrefix option #27, thanks ruanyf
  • add wrapHeadingTextInAnchor option #28, thanks jsepia
  • add slugify option, improve example in README, add corresponding test (a085aaf)

<a name="4.1.2"></a>

med_freeman
published 4.1.2 •

Changelog

Source

4.1.2 (2017-03-07)

Bug Fixes

  • TypeError: Cannot read property 'breaks' of undefined (#30)

Features

  • add anchorLinkPrefix option (3f35d5a)

<a name="4.1.1"></a>

med_freeman
published 4.1.1 •

Changelog

Source

4.1.1 (2016-05-05)

Bug Fixes

  • inexistent environment in markdown-it parsing on second instance

<a name="4.1.0"></a>

med_freeman
published 4.1.0 •

Changelog

Source

4.1.0 (2016-04-23)

Features

  • tocCallback option to allow getting toc elements in addition to / instead of @[toc] transformation

<a name="4.0.0"></a>

med_freeman
published 4.0.0 •

Changelog

Source

4.0.0 (2016-04-23)

  • Changed: refactored toc generation to allow full markdown processing
  • Removed: indentation option (the output is now generated by markdown-it and has no indentation)
  • Added: dependency to clone
  • Fixed: link inside heading not rendered correctly (#7)

<a name="3.1.0"></a>

med_freeman
published 3.1.0 •

Changelog

Source

3.1.0 (2016-04-19)

  • Added: tocLastLevel option to skip some upper heading levels (#1)

<a name="3.0.2"></a>

moox
published 3.0.1 •

Changelog

Source

3.0.1 (2016-04-10)

  • Fixed: Reset anchor ids (#13

<a name="3.0.0"></a>

moox
published 3.0.0 •

Changelog

Source

3.0.0 (2016-04-04)

No API changes.

  • Changed: this plugin does not require markdown-it anymore (#2)

<a name="2.1.0"></a>

moox
published 2.1.0 •

Changelog

Source

2.1.0 (2016-01-17)

  • Fixed: Should support unicode heading (#5 via #6)
  • Added: anchorLinkSpace option to enable/disable inserting a space between the anchor link and heading (#6).
  • Added: anchorLinkSymbolClassName customize the anchor link symbol class name (#6).

<a name="2.0.0"></a>

moox
published 2.0.0 •

Changelog

Source

2.0.0 (2015-11-01)

  • Changed: markdown-it@^5.0.0.

<a name="1.0.1"></a>

2
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc