Skip to content

Commit

Permalink
fix: element can not be wrapped in p tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Marvin Heilemann committed Mar 4, 2020
1 parent acc1825 commit c35f633
Show file tree
Hide file tree
Showing 3 changed files with 332 additions and 310 deletions.
2 changes: 2 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ module.exports = {
},
// BUG: https://github.com/gatsbyjs/gatsby/issues/15486
plugins: [`gatsby-remark-images`],
remarkPlugins: [require('remark-unwrap-images')],
rehypePlugins: [require(`rehype-accessible-emojis`).rehypeAccessibleEmojis],
gatsbyRemarkPlugins: [
{
Expand All @@ -183,6 +184,7 @@ module.exports = {
`gatsby-remark-embedder`,
'gatsby-remark-check-links',
`gatsby-remark-copy-linked-files`,
// `gatsby-remark-normalize-url`,
],
},
},
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,20 @@
"cssnano": "^4.1.10",
"dayjs": "^1.8.21",
"dot-prop": "^5.2.0",
"gatsby": "^2.19.23",
"gatsby-image": "^2.2.41",
"gatsby-plugin-breadcrumb": "^7.0.0",
"gatsby": "^2.19.28",
"gatsby-image": "^2.2.42",
"gatsby-plugin-breadcrumb": "^9.0.1",
"gatsby-plugin-canonical-urls": "^2.1.20",
"gatsby-plugin-catch-links": "^2.1.26",
"gatsby-plugin-humans-txt": "^1.1.4",
"gatsby-plugin-layout": "^1.1.22",
"gatsby-plugin-manifest": "^2.2.42",
"gatsby-plugin-mdx": "^1.0.74",
"gatsby-plugin-mdx": "^1.0.75",
"gatsby-plugin-offline": "^3.0.35",
"gatsby-plugin-pnpm": "^1.2.3",
"gatsby-plugin-postcss": "^2.1.20",
"gatsby-plugin-preact": "^3.1.26",
"gatsby-plugin-react-axe": "^0.3.0",
"gatsby-plugin-react-axe": "^0.4.0",
"gatsby-plugin-react-helmet-async": "^1.0.15",
"gatsby-plugin-react-svg": "^3.0.0",
"gatsby-plugin-remove-generator": "^1.0.4",
Expand All @@ -74,22 +74,22 @@
"gatsby-remark-embedder": "^1.12.0",
"gatsby-remark-images": "^3.1.44",
"gatsby-source-filesystem": "^2.1.48",
"gatsby-source-graphql": "2.1.29",
"gatsby-source-graphql": "2.1.33",
"gatsby-transformer-json": "^2.2.26",
"gatsby-transformer-leasot": "^1.2.2",
"gatsby-transformer-sharp": "^2.3.16",
"lodash": "^4.17.15",
"moment": "^2.24.0",
"node-sass": "^4.13.1",
"normalize-url": "^4.5.0",
"preact": "^10.3.2",
"preact": "^10.3.3",
"prism-react-renderer": "^1.0.2",
"prop-types": "^15.7.2",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"react-helmet-async": "^1.0.4",
"react-scroll": "^1.7.16",
"rehype-accessible-emojis": "^0.3.2",
"remark-unwrap-images": "^1.0.0",
"titleize": "^2.1.0",
"unique-string": "^2.0.0"
},
Expand All @@ -100,8 +100,8 @@
"@hot-loader/react-dom": "^16.12.0",
"@release-it/conventional-changelog": "^1.1.0",
"babel-eslint": "^10.1.0",
"chrome-launcher": "^0.12.0",
"cross-env": "^7.0.0",
"chrome-launcher": "^0.13.0",
"cross-env": "^7.0.1",
"env-cmd": "^10.1.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
Expand All @@ -115,7 +115,7 @@
"npm-run-all": "^4.1.5",
"prettier": "^1.19.1",
"pretty-quick": "^2.0.1",
"release-it": "^12.6.2",
"release-it": "^12.6.3",
"semver": "^7.1.3",
"stylelint": "^13.2.0",
"stylelint-config-prettier": "^8.0.1",
Expand Down
Loading

0 comments on commit c35f633

Please sign in to comment.