Skip to content

Commit 8f8a419

Browse files
authored
fix(gatsby-transformer-remark): add excerpt_separator to plugin options schema (#27785)
Closes #27784
1 parent 409a36a commit 8f8a419

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/gatsby-transformer-remark/src/gatsby-node.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ exports.pluginOptionsSchema = function ({ Joi }) {
2121
gfm: Joi.boolean().description(
2222
`Activates GitHub Flavored Markdown mode (default: true)`
2323
),
24+
excerpt_separator: Joi.string().description(
25+
`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.`
26+
),
2427
plugins: Joi.array()
2528
.items(
2629
Joi.string(),

0 commit comments

Comments
 (0)