Repository URL to install this package:
| 
      
        
        
        Version: 
        
         
          
          3.1.7  ▾
        
         | 
These are the contributing guidelines of mark.js. If you are interested in contributing to the website of mark.js, please head over to the mark.js website contributing guidelines.
If you have a question, problem, feature request or found a bug please open an issue.
For each issue please provide:
Please provide the following information:
Requirements: Latest NodeJS (including npm) installed.
Before you start developing, you should clone or download this repository and run:
$ npm install
Now you are ready for development.
mark.js was developed in ECMAScript 6. But as most browsers don't fully support ES6 yet, it has only those features implemented that can be converted "locally" to ES5 using Babel without making a polyfill necessary. This means to forgo using generators, Set, Map, for...of loops etc..
The project is using rollup as a bundler, Karma as a task runner and Jasmine (with jasmine-jquery) as a testing framework.
To lint, test and compile the project and also generate a documentation (see 2.4) please run:
$ npm run build
JSDoc is being used as an API documentation generator. If you want to extend mark.js it might be helpful for you to view the documentation first, to learn more about the internal structure. Simply run the build and open the file ./build/doc/.
During development, please also add the corresponding JSDoc comments.
Pull requests are very much appreciated! :thumbsup:
Please note the following things when doing a pull request:
./build/coverage/ after running the buildIf you contribute to this project, you are implicitly allowing your code to be distributed under this license. You are also implicitly verifying that all code is your original work.
Thank you for contributing!