Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.2 KB

PUBLISH_GUIDELINE.md

File metadata and controls

29 lines (19 loc) · 1.2 KB

Highlight.js syntax highlighting

Contents

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.

Init

First pull the current version of the highlight.js repository. Make sure that you clone the highlightjs-xsharp project into highlight.js/extra/.

Test

Test your project with the commands listed at guide.

Publish

The project should always be published on the web and node.js.

Web

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.

Node.js

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.