Skip to content

Add build commands #4296

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions extra/3RD_PARTY_QUICK_START.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Switching back to your clone of the `highlight-js` core repository now, `git clo
To test (detect and markup tests), just build Highlight.js and test it. Your tests should be automatically run with the full suite:

```bash
node ./tools/build.js -t node
npm run build
npm run test
```

Expand All @@ -62,7 +62,7 @@ Users will expect your package to include a minified CDN distributable in your `
*The Highlight.js CDN build process will build this file for you automatically.* You can simply commit and push your repo, and done.

```bash
node ./tools/build.js -t cdn
npm run build-cdn

...
Building extra/highlightjs-your-language/dist/your-language.min.js.
Expand Down