Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

Commit

Permalink
Attempt to make PrismJS work
Browse files Browse the repository at this point in the history
  • Loading branch information
rm3l committed Dec 28, 2019
1 parent 821a850 commit d82de22
Show file tree
Hide file tree
Showing 3 changed files with 759 additions and 1,689 deletions.
28 changes: 28 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"presets": [
[
"babel-preset-gatsby"
]
],
"plugins": [
[
"prismjs",
{
"languages": [
"javascript",
"css",
"markup",
"json",
"handlebars",
"yaml",
"java",
"sql",
"dart",
"xml"
],
"theme": "okaidia",
"css": true
}
]
]
}
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
"dependencies": {
"@tryghost/helpers": "1.1.19",
"@tryghost/helpers-gatsby": "1.0.22",
"babel-plugin-prismjs": "^1.1.1",
"babel-preset-gatsby": "^0.2.26",
"cheerio": "1.0.0-rc.3",
"gatsby": "2.17.15",
"gatsby-awesome-pagination": "0.3.5",
Expand All @@ -55,6 +57,7 @@
"gatsby-source-ghost": "4.0.3",
"gatsby-transformer-sharp": "2.3.5",
"lodash": "4.17.15",
"prismjs": "^1.17.1",
"react": "16.12.0",
"react-dom": "16.12.0",
"react-helmet": "5.2.1"
Expand Down
Loading

0 comments on commit d82de22

Please sign in to comment.