Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/siawyoung/gatsby-remark-hypher

A gatsby-remark plugin to add hyphenation to Markdown.
https://github.com/siawyoung/gatsby-remark-hypher

gatsby gatsby-plugin gatsby-remark gatsby-remark-hypher gatsbyjs hyphenation

Last synced: about 2 months ago
JSON representation

A gatsby-remark plugin to add hyphenation to Markdown.

Awesome Lists containing this project

README

        

# gatsby-remark-hypher

A thin wrapper around [`remark-hypher`](https://github.com/siawyoung/remark-hypher), for use with Gatsby. Please see `remark-hypher` for information and documentation on usage.

## Getting started

``` javascript
// in gatsby-config.js
plugins: [
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: "gatsby-remark-hypher",
options: {
leftmin: 3,
rightmin: 2,
minLength: 6,
},
},
],
},
},
]
```

The options object is the same one as documented in `remark-hypher`.