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
gfm-code-blocks

Extract gfm (GitHub Flavored Markdown) fenced code blocks from a string.
Install with npm
npm i gfm-code-blocks --saveUsage
var code = require('gfm-code-blocks');
console.log(code('\n```js\nfoo\n```\n'));
//=> {lang: 'js', code: 'foo', block: '\n```js\nfoo\n```\n'}Related projects
- gfm-code-block-regex: RegExp for gfm (GitHub Flavored Markdown) fenced code blocks.
- markdown-toc: Generate a markdown TOC (table of contents) with Remarkable.
- prettify-markdown: Prettify, format or beautify your markdown. Whatever you want to call it, this does that.… more
- remarkable: Markdown parser, done right. 100% Commonmark support, extensions, syntax plugins, high speed - all in… more
Running tests
Install dev dependencies:
npm i -d && npm testContributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Author
Jon Schlinkert
License
Copyright (c) 2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb-cli on April 26, 2015.