JSPM

gfm-code-blocks

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9507
  • Score
    100M100P100Q143048F

Extract gfm (GitHub Flavored Markdown) fenced code blocks from a string.

Package Exports

  • gfm-code-blocks

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 (gfm-code-blocks) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

fenced-code-blocks NPM version

Parse, modify and re-render gfm fenced code blocks in markdown.

Install

Install with npm:

npm i fenced-code-blocks --save-dev

Usage

var code = require('fenced-code-blocks');
console.log(code('\n```js\nfoo\n```\n'));
//=> {lang: 'js', code: 'foo'}

Author

Jon Schlinkert

License

Copyright (c) 2014 Jon Schlinkert, contributors.
Released under the MIT license


This file was generated by verb-cli on August 13, 2014.