mdxfmt
Experimental MDX formatter
Last updated 3 years ago by johno .
MIT · Original npm · Tarball · package.json
$ cnpm install mdxfmt 
SYNC missed versions from official npm registry.

mdxfmt

An experimental code formatter for MDX.

Installation

npm i -D mdxfmt

Usage

const mdxfmt = require('mdxfmt')

const MDX = `
import { Box }
from 'grid-styled'

# Hello, world!

<div>
  hi   </div>
`

mdxfmt(MDX)

Options

Key Type Description
jsx {} Options object passed to Prettier for formatting JSX
md {} Options object passedt to Remark Stringify for formatting MD

Current Tags

  • 0.0.2-2                                ...           latest (3 years ago)

3 Versions

  • 0.0.2-2                                ...           3 years ago
  • 0.0.2-1                                ...           3 years ago
  • 0.0.2-0                                ...           3 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (6)
Dev Dependencies (2)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |