pfm
Piták Flavored Markdown
Last updated 4 years ago by romanpitak .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install pfm 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.0                                ...           latest (4 years ago)

10 Versions

  • 1.0.0                                ...           4 years ago
  • 0.3.1                                ...           4 years ago
  • 0.3.0                                ...           5 years ago
  • 0.2.2                                ...           5 years ago
  • 0.2.1                                ...           5 years ago
  • 0.2.0                                ...           5 years ago
  • 0.1.1                                ...           5 years ago
  • 0.1.0                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
  • 0.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (2)

Copyright 2014 - 2016 © taobao.org |