elmasse / nextein

A static site generator with markdown + react for Next.js

Home Page:https://nextein.elmasse.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove position information from post.content and make it opt-in

elmasse opened this issue · comments

Remove position from generated post.content hast.

OPT-IN in nextein-plugin-markdown:

module.exports = withNextein({
  nextein: config => {
    config.plugins = [
      {
        name: 'nextein-plugin-markdown', 
        options: {
+          position: true
        }
      }
    ]
    return config
  }
}

Closed by fcd5f6b.