Skip to content

samrae7/gatsby-remark-repro

Repository files navigation

Reproduction of this issue: gatsbyjs/gatsby#18312

  1. Clone this repo and

    cd gatsby-remark-repro/
    npm install
    gatsby develop
  2. Go to _http://localhost:8000/___graphqland send the following gql request:

query searchDataQuery {
  allMarkdownRemark {
    edges {
      node {
        id
        excerpt(pruneLength: 60, format: MARKDOWN)
      }
    }
  }
}

Notice that the excerpt for the md file without the exerpt seperator is returned as empty string. Seeing as the pruneLength works when there is no exerpt seperator option, it seems reasonable that it should fall back to the pruneLength.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published