Change excerpt method which can handle non-latin languages
Expected
Excerpt truncating method should handle non-latin languages.
Actual
By default, gatsby-remark will not use the method which can handle non-latin languages.
How to achieve
Pass following option in GraphQL:
{
markdownRemark {
excerpt(truncate: true)
}
}
Resources
- https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-remark Trouble Shooting section