Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: include remark-frontmatter manually #1204

Merged
merged 1 commit into from
Aug 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ packages/**/test/**/*.mdx
packages/gatsby-theme-mdx/src/components/header.js
packages/gatsby-theme-mdx/src/components/layout.js
packages/gatsby-theme-mdx/src/components/search.js
packages/gatsby-theme-mdx/src/pages/conf.mdx
packages/gatsby-theme-mdx/src/pages/conf/confirm.mdx
packages/gatsby-theme-mdx/src/pages/conf/confirmed.mdx

# tmp
examples/vue
Expand Down
1 change: 1 addition & 0 deletions .remarkrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const wooorm = require('retext-preset-wooorm')

module.exports = {
plugins: [
'remark-frontmatter',
'./packages/remark-mdx',
'preset-wooorm',
'preset-prettier',
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
"rehype-add-classes": "1.0.0",
"rehype-katex": "3.0.0",
"remark-autolink-headings": "6.0.1",
"remark-frontmatter": "^2.0.0",
"remark-math": "2.0.1",
"remark-mdx": "^1.6.7",
"remark-parse": "8.0.3",
Expand Down
16 changes: 15 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11084,6 +11084,13 @@ fastq@^1.6.0:
dependencies:
reusify "^1.0.4"

fault@^1.0.1:
version "1.0.4"
resolved "https://registry.yarnpkg.com/fault/-/fault-1.0.4.tgz#eafcfc0a6d214fc94601e170df29954a4f842f13"
integrity sha512-CJ0HCB5tL5fYTEA7ToAq5+kTwd++Borf1/bifxd9iT70QcXr4MRrO3Llf8Ifs70q+SJcGHFtnIE/Nw6giCtECA==
dependencies:
format "^0.2.0"

faye-websocket@^0.10.0:
version "0.10.0"
resolved "https://registry.yarnpkg.com/faye-websocket/-/faye-websocket-0.10.0.tgz#4e492f8d04dfb6f89003507f6edbf2d501e7c6f4"
Expand Down Expand Up @@ -11451,7 +11458,7 @@ form-data@~2.3.2:
combined-stream "^1.0.6"
mime-types "^2.1.12"

format@^0.2.2:
format@^0.2.0, format@^0.2.2:
version "0.2.2"
resolved "https://registry.yarnpkg.com/format/-/format-0.2.2.tgz#d6170107e9efdc4ed30c9dc39016df942b5cb58b"
integrity sha1-1hcBB+nv3E7TDJ3DkBbflCtctYs=
Expand Down Expand Up @@ -21726,6 +21733,13 @@ [email protected]:
resolved "https://registry.yarnpkg.com/remark-footnotes/-/remark-footnotes-1.0.0.tgz#9c7a97f9a89397858a50033373020b1ea2aad011"
integrity sha512-X9Ncj4cj3/CIvLI2Z9IobHtVi8FVdUrdJkCNaL9kdX8ohfsi18DXHsCVd/A7ssARBdccdDb5ODnt62WuEWaM/g==

remark-frontmatter@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/remark-frontmatter/-/remark-frontmatter-2.0.0.tgz#c9b8539c27cd23b1672c7e0fcbd5795eeedb4dc1"
integrity sha512-uNOQt4tO14qBFWXenF0MLC4cqo3dv8qiHPGyjCl1rwOT0LomSHpcElbjjVh5CwzElInB38HD8aSRVugKQjeyHA==
dependencies:
fault "^1.0.1"

remark-github@^9.0.0:
version "9.0.1"
resolved "https://registry.yarnpkg.com/remark-github/-/remark-github-9.0.1.tgz#82d05783754b9756ae63984a4afd5282318fbab1"
Expand Down