-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(gatsby-transformer-remark): fall back to pruneLength if n… (#19137)
* add failing test for issue * add AST parsing for markdown excerpts * typo ( speeling of excerpt) * got tests working after issues with formatting * update snapshot * remove unecesary async + edit comment for clarity * remove formatting changes * add snapshot * revert format change * revert format changes * add test - that md is respected when falling back to pruneLength * add test that md chars are preserved when pruning
- Loading branch information
Showing
3 changed files
with
78 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters