Skip to content

Commit

Permalink
Merge pull request #5076 from rbayliss/patch-1
Browse files Browse the repository at this point in the history
Remove outdated contributing notes from gatsby-remark-prismjs
  • Loading branch information
m-allanson authored Apr 23, 2018
2 parents e5bd4ae + cacfee3 commit 21b993d
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions packages/gatsby-remark-prismjs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,18 +211,3 @@ to facilitate the desired line highlight behavior.
[5]: https://github.com/PrismJS/prism/tree/1d5047df37aacc900f8270b1c6215028f6988eb1/themes
[6]: http://prismjs.com/

## Contributing Notes

We vendor the `prismjs` components file in `prism-language-dependencies.js`. We use the `prism-language-dependencies.js` file to tell `gatsby-remark-prismjs` which languages it can syntax highlight. Thus, when the `prismjs` library is updated, we need to update the our `prism-language-dependencies.js` file. To do this, we have created a script at `scripts/get-prism-language-dependencies.js`. To run this script:

* Move into the `gatsby/packages/gatsby-remark-prismjs/scripts` dir

```bash
cd gatsby/packages/gatsby-remark-prismjs/scripts
```

* Run the script

```bash
node get-prism-language-dependencies.js
```

0 comments on commit 21b993d

Please sign in to comment.