Skip to content

Commit

Permalink
Remove Adding a new language to the highlight.js bundle instruction…
Browse files Browse the repository at this point in the history
…s (#131)

These instructions are no longer relevant due to nodejs/node#34148.
  • Loading branch information
Marlyfleitas committed Jul 27, 2020
1 parent 1e1515c commit 7bdc94d
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,3 @@ npm test
1. In [node-lint-md-cli-rollup](https://github.com/nodejs/node/tree/master/tools/node-lint-md-cli-rollup), bump the `remark-preset-lint-node` dependency
1. In the `nodejs/node` repo, rebuild the Markdown linter (`make lint-md-rollup`)
1. PR the `nodejs/node` repo with the updated linter

### Adding a new language to the highlight.js bundle

1. Visit [highlightjs.org/download](https://highlightjs.org/download/)
1. Select [the pre-existing grammars](https://github.com/nodejs/node/tree/master/doc/api_assets#highlightpackjs) and include any additional grammar(s)
1. Download the custom `highlight.zip` package for Node.js
1. Extract the downloaded `highlight.zip`
1. Copy `highlight.pack.js` into the `doc/api_assets/` directory
1. Update the date when the bundle was downloaded at [`doc/api_assets/README.md#highlightpackjs`](https://github.com/nodejs/node/tree/master/doc/api_assets#highlightpackjs)
1. Update [the pre-existing grammars](https://github.com/nodejs/node/tree/master/doc/api_assets#highlightpackjs) at `doc/api_assets/README.md` to include the new grammar(s)
1. PR the `nodejs/node` repo with the updated bundle

0 comments on commit 7bdc94d

Please sign in to comment.