remark-nbsp

Now-balanced Standing Paragraph (aka Widon’t)

Usage no npm install needed!

<script type="module">
  import remarkNbsp from 'https://cdn.skypack.dev/remark-nbsp';
</script>

README

remark-nbsp

No Break SPace
Non-Breaking SPace
Now Balanced Standing Paragraph
Node-Based Space Placement

Install

npm install remark-nbsp

Use

MDX support (including Gatsby)

https://mdxjs.com/advanced/plugins

If you’re using MDX or Gatsby, you don’t need a Gatsby-specific plugin. For example:

{
  resolve: `gatsby-plugin-mdx`,
  options: {
    remarkPlugins: [
      // To pass options, use a 2-element array with the
      // configuration in an object in the second element
      [require("remark-nbsp"), {}]
    ]
  }
}

https://www.gatsbyjs.com/plugins/gatsby-plugin-mdx/#remark-plugins

License

The MIT License (MIT)

Copyright © 2021 Kenneth Ormandy Inc.