Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

excerpt_separator option is missing in options schema for gatsby-transformer-remark plugin #27784

Closed
smashercosmo opened this issue Nov 2, 2020 · 1 comment · Fixed by #27785
Labels
type: bug An issue or pull request relating to a bug in Gatsby

Comments

@smashercosmo
Copy link

Description

According to the docs you should be able to provide 'excerpt_separator' options to gatsby-transformer-remark plugin
https://www.gatsbyjs.com/plugins/gatsby-transformer-remark/?=gatsby-tra#excerpts-for-html-embedded-in-markdown-files

Steps to reproduce

Provide 'excerpt_separator' option to gatsby-transformer-remark plugin and try to run the project

Expected result

No error should be raised

Actual result

error Invalid plugin options for "gatsby-transformer-remark":

- "excerpt_separator" is not allowed

Environment

  System:
    OS: macOS 10.15.7
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 14.15.0 - /usr/local/bin/node
    npm: 6.14.8 - /usr/local/bin/npm
  Languages:
    Python: 2.7.16 - /usr/bin/python
  Browsers:
    Chrome: 86.0.4240.111
    Safari: 14.0
  npmPackages:
    gatsby: 2.25.0 => 2.25.0 
    gatsby-image: 2.4.21 => 2.4.21 
    gatsby-plugin-netlify: 2.4.0 => 2.4.0 
    gatsby-plugin-netlify-cms: 4.3.17 => 4.3.17 
    gatsby-plugin-netlify-cms-paths: 1.3.0 => 1.3.0 
    gatsby-plugin-postcss: 2.3.12 => 2.3.12 
    gatsby-plugin-preact: 4.0.16 => 4.0.16 
    gatsby-plugin-react-helmet: 3.3.14 => 3.3.14 
    gatsby-plugin-sharp: 2.7.0 => 2.7.0 
    gatsby-plugin-sitemap: 2.5.0 => 2.5.0 
    gatsby-plugin-svgr: 2.0.2 => 2.0.2 
    gatsby-plugin-typescript: 2.5.0 => 2.5.0 
    gatsby-plugin-webpack-bundle-analyzer: 1.0.5 => 1.0.5 
    gatsby-remark-images: 3.4.0 => 3.4.0 
    gatsby-source-filesystem: 2.4.0 => 2.4.0 
    gatsby-transformer-remark: 2.9.0 => 2.9.0 
    gatsby-transformer-sharp: 2.5.21 => 2.5.21 
    gatsby-transformer-yaml: 2.4.15 => 2.4.15 
@smashercosmo smashercosmo added the type: bug An issue or pull request relating to a bug in Gatsby label Nov 2, 2020
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Nov 2, 2020
@mxstbr mxstbr removed the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Nov 2, 2020
@mxstbr
Copy link
Contributor

mxstbr commented Nov 2, 2020

Thanks for reporting this! PR with a first fix is open at #27785, follow that for updates 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug An issue or pull request relating to a bug in Gatsby
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants