rehype-autolink-headings
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -37,3 +37,3 @@ 'use strict' | ||
function transformer(tree) { | ||
visit(tree, visitor) | ||
visit(tree, 'element', visitor) | ||
} | ||
@@ -40,0 +40,0 @@ |
{ | ||
"name": "rehype-autolink-headings", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "Add links to headings in HTML", | ||
@@ -15,5 +15,5 @@ "license": "MIT", | ||
"bugs": "https://github.com/rehypejs/rehype-autolink-headings/issues", | ||
"author": "Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)", | ||
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)", | ||
"contributors": [ | ||
"Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)" | ||
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)" | ||
], | ||
@@ -34,6 +34,6 @@ "files": [ | ||
"negate": "^1.0.0", | ||
"nyc": "^12.0.0", | ||
"nyc": "^13.0.0", | ||
"prettier": "^1.13.7", | ||
"rehype": "^6.0.0", | ||
"remark-cli": "^5.0.0", | ||
"remark-cli": "^6.0.0", | ||
"remark-preset-wooorm": "^4.0.0", | ||
@@ -43,3 +43,3 @@ "tape": "^4.0.0", | ||
"to-vfile": "^5.0.0", | ||
"xo": "^0.21.0" | ||
"xo": "^0.23.0" | ||
}, | ||
@@ -46,0 +46,0 @@ "scripts": { |
@@ -1,3 +0,8 @@ | ||
# rehype-autolink-headings [![Build Status][travis-badge]][travis] [![Coverage Status][codecov-badge]][codecov] | ||
# rehype-autolink-headings | ||
[![Build][build-badge]][build] | ||
[![Coverage][coverage-badge]][coverage] | ||
[![Downloads][downloads-badge]][downloads] | ||
[![Chat][chat-badge]][chat] | ||
Automatically add links to headings (h1-h6) with [**rehype**][rehype]. | ||
@@ -99,15 +104,23 @@ | ||
[travis-badge]: https://img.shields.io/travis/rehypejs/rehype-autolink-headings.svg | ||
[build-badge]: https://img.shields.io/travis/rehypejs/rehype-autolink-headings.svg | ||
[travis]: https://travis-ci.org/rehypejs/rehype-autolink-headings | ||
[build]: https://travis-ci.org/rehypejs/rehype-autolink-headings | ||
[codecov-badge]: https://img.shields.io/codecov/c/github/rehypejs/rehype-autolink-headings.svg | ||
[coverage-badge]: https://img.shields.io/codecov/c/github/rehypejs/rehype-autolink-headings.svg | ||
[codecov]: https://codecov.io/github/rehypejs/rehype-autolink-headings | ||
[coverage]: https://codecov.io/github/rehypejs/rehype-autolink-headings | ||
[downloads-badge]: https://img.shields.io/npm/dm/rehype-autolink-headings.svg | ||
[downloads]: https://www.npmjs.com/package/rehype-autolink-headings | ||
[chat-badge]: https://img.shields.io/badge/join%20the%20community-on%20spectrum-7b16ff.svg | ||
[chat]: https://spectrum.chat/unified/rehype | ||
[npm]: https://docs.npmjs.com/cli/install | ||
[license]: LICENSE | ||
[license]: license | ||
[author]: http://wooorm.com | ||
[author]: https://wooorm.com | ||
@@ -114,0 +127,0 @@ [rehype]: https://github.com/rehypejs/rehype |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8207
131