Skip to content

Commit

Permalink
fix(gatsby-transformer-remark): add excerpt_separator to plugin optio…
Browse files Browse the repository at this point in the history
…ns schema (#27785)

Closes #27784
  • Loading branch information
mxstbr authored Nov 2, 2020
1 parent 409a36a commit 8f8a419
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/gatsby-transformer-remark/src/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ exports.pluginOptionsSchema = function ({ Joi }) {
gfm: Joi.boolean().description(
`Activates GitHub Flavored Markdown mode (default: true)`
),
excerpt_separator: Joi.string().description(
`If your Markdown file contains HTML, excerpt will not return a value. In that case, you can set an excerpt_separator to an HTML tag. Edit your Markdown files to include that HTML tag after the text you’d like to appear in the excerpt.`
),
plugins: Joi.array()
.items(
Joi.string(),
Expand Down

0 comments on commit 8f8a419

Please sign in to comment.