src/languages
contains the source file for developing the language definition.
test/
contains two subfolders. These test the language auto-detection and the correct styling/markup of the file.
First pull the current version of the highlight.js repository. Make sure that you clone the highlightjs-xsharp
project into highlight.js/extra/
.
Test your project with the commands listed at guide.
The project should always be published on the web and node.js.
The dist
folder contains the javascript files that are published. These can be auto-generated with the script at highlight.js. See packaging for this.
See the following guide to update the package npm-update.
Make sure that you are logged in with npm login
and that you have write access to the public package.