Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(gatsby-remark-prismjs): syntax highlighting inside diffs (gatsby…
…js#26525) * feat(gatsby-remark-prismjs): syntax highlighting inside diffs added support for syntax highlighting inside diffs using diff-xxxx pattern as language identifier ✅ Closes: gatsbyjs#20630 * add minimal documentation about `diff-[language]` * \w means [a-zA-Z0-9_] so we can drop \d ([0-9]) as it's already covered * add top level test to also cover regex part Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com>
- Loading branch information