Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Commit

Permalink
build(deps): add remark-breaks & update wrap-images
Browse files Browse the repository at this point in the history
  • Loading branch information
CanRau committed Apr 5, 2020
1 parent b84de35 commit 511dc0b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ const plugins = [
options: {
extensions: [`.mdx`, `.md`],
rehypePlugins: [require(`rehype-slug`)],
remarkPlugins: [require(`remark-squeeze-paragraphs`)],
remarkPlugins: [require(`remark-breaks`, `remark-squeeze-paragraphs`)],
// plugins: [`gatsby-remark-images`], // TODO: until https://github.com/gatsbyjs/gatsby/issues/15486 is fixed
gatsbyRemarkPlugins: [
// { resolve: `gatsby-remark-embed-video` },
Expand All @@ -165,7 +165,7 @@ const plugins = [
},
{ resolve: `@gaiama/gatsby-remark-wrap-images` },
// {
// // TODO: check why it's not working/wrapping anymore e.g. /en/blog/tie-your-hair-without-hair-tie/
// // TODO: check why it's not working/wrapping anymore
// resolve: `gatsby-remark-responsive-iframe`,
// options: {
// wrapperStyle: `margin: 0 auto 1.0725rem; max-width: 80%;`,
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
},
"devDependencies": {
"@babel/plugin-proposal-optional-chaining": "^7.7.5",
"@gaiama/gatsby-remark-wrap-images": "0.2.0",
"@gaiama/gatsby-remark-wrap-images": "0.3.0",
"@gaiama/gatsby-source-gaiama-donations": "^0.1.3",
"@gaiama/helpers": "^0.1.0",
"@welldone-software/why-did-you-render": "^3.3.9",
Expand Down Expand Up @@ -164,6 +164,7 @@
"prettier": "1.19.1",
"rehype-slug": "^2.0.3",
"remark-iframes": "4.0.0",
"remark-breaks": "^1.0.5",
"scope.macro": "^1.0.0",
"serve": "11.2.0"
}
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14948,6 +14948,11 @@ rehype-slug@^2.0.3:
hast-util-to-string "^1.0.0"
unist-util-visit "^1.1.0"

remark-breaks@^1.0.5:
version "1.0.5"
resolved "https://registry.yarnpkg.com/remark-breaks/-/remark-breaks-1.0.5.tgz#e9785f8b174f45c05af542fbeb18354b766e1139"
integrity sha512-lr8+TlJI273NjEqL27eUthPYPTCgXEj4NaLbnazS3bQaQL2FySlsbtgo52gE36fE1gWeQgkn1VdmWsoT+uA7FA==

remark-burger@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/remark-burger/-/remark-burger-1.0.1.tgz#cda57d4bc1e952ae86b2407fbcf36492ab352106"
Expand Down

0 comments on commit 511dc0b

Please sign in to comment.