rehype-external-links

v1.0.1
rehype plugin to automatically add `target` and `rel` attributes to external links
unified rehype rehype-plugin plugin hast html markdown external link and 2 more...

build

rimraf "*.d.ts" && tsc && type-coverage

format

remark . -qfo && prettier . -w --loglevel warn && xo --fix

test-api

node --conditions development test.js

test-coverage

c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api

test

npm run build && npm run format && npm run test-coverage

Metadata

  • MIT
  • Whatever
  • Titus Wormer
  • released 12/27/2021

Downloads

Maintainers