remark-capitalize

1.1.0 • Public • Published

Remark Capitalize

Transform all markdown titles with title.sh

Getting started

npm install --save remark-capitalize

Usage with MDX

mdx uses remark to transform an MDX document into JSX tags. It has support for passing plugins through the loader options:

const remarkCapitalize = require('remark-capitalize')
// part of webpack.config.js
{
  test: /\.mdx$/,
  use: [
    defaultLoaders.babel,
    {
      loader: '@compositor/markdown-loader',
      options: {
        plugins: [remarkCapitalize]
      }
    }
  ]
}

Readme

Keywords

none

Package Sidebar

Install

npm i remark-capitalize

Weekly Downloads

602

Version

1.1.0

License

none

Unpacked Size

2.19 kB

Total Files

4

Last publish

Collaborators

  • gdborton
  • matheuss
  • timneutkens
  • matt.straka
  • nick.tracey
  • zeit-bot
  • vercel-release-bot