JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 666
  • Score
    100M100P100Q104125F
  • License MIT

Extract inline link/image destinations as separate definitions

Package Exports

  • remark-defsplit

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (remark-defsplit) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

npm

remark-defsplit

Build Status Dependency Status

Extract inline link/image destinations as separate definitions.

Example

$ travisjs badge
[![Build Status](https://travis-ci.org/eush77/remark-defsplit.svg?branch=master)](https://travis-ci.org/eush77/remark-defsplit)
$ travisjs badge | remark --use remark-defsplit='id:["travis-badge","travis"]'
[![Build Status][travis-badge]][travis]

[travis-badge]: https://travis-ci.org/eush77/remark-defsplit.svg?branch=master

[travis]: https://travis-ci.org/eush77/remark-defsplit

API

With remark do:

remark.use(remarkDefsplit, [options]).process(src)

options.id

Type: String | [String]
Default: []

Array of identifiers to use for new definitions in place of auto-generated ones.

CLI

With remark do:

remark --use remark-defsplit[=options] </path/to/src

Install

npm install remark-defsplit

License

MIT