Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vercel/remark-capitalize
Transform all markdown titles with title.sh
https://github.com/vercel/remark-capitalize
capitalization mdx plugin remark title
Last synced: 14 days ago
JSON representation
Transform all markdown titles with title.sh
- Host: GitHub
- URL: https://github.com/vercel/remark-capitalize
- Owner: vercel
- License: mit
- Created: 2018-03-20T13:31:52.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-12-10T12:49:48.000Z (about 4 years ago)
- Last Synced: 2024-12-17T23:23:16.528Z (18 days ago)
- Topics: capitalization, mdx, plugin, remark, title
- Language: JavaScript
- Homepage: https://npmjs.com/remark-capitalize
- Size: 4.88 KB
- Stars: 30
- Watchers: 8
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Remark Capitalize
Transform all markdown titles with [title.sh](https://github.com/zeit/title)
## Getting started
```
npm install --save remark-capitalize
```### Usage with MDX
[mdx](https://github.com/mdx-js/mdx) uses remark to transform an MDX document into JSX tags. It has support for passing plugins through the loader options:
```js
const remarkCapitalize = require('remark-capitalize')
// part of webpack.config.js
{
test: /\.mdx$/,
use: [
defaultLoaders.babel,
{
loader: '@compositor/markdown-loader',
options: {
plugins: [remarkCapitalize]
}
}
]
}
```