pfm

1.0.0 • Public • Published

Piták Flavored Markdown (parser)

npm npm Gemnasium npm

This module extends the marked module to my liking.

  • highlighting is done by pygmentize
  • In paragraphs, ~ renders to  
  • In inline code, ~ renders to ∼
  • Link to external hosts have target="_blank"
  • options.highlight is disabled (too lazy to implement)

Installation

npm install pfm

Integrations

with Jade >= 1.10.0

Use the jstransformer-pfm module.

Jade deprecated Transformers support in filters in v1.10.0 and will be dopping it in favor of jstransformers from v2.0.0.

with Jade < 1.10.0

jade = require 'jade'
pfm = require 'pfm'
jade.filters.markdown = pfm

Readme

Keywords

Package Sidebar

Install

npm i pfm

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • romanpitak