medfreeman / markdown-it-toc-and-anchor

markdown-it plugin to add a toc and anchor links in headings
MIT License
60 stars 35 forks source link

How to build the code #4

Closed tylerlong closed 8 years ago

tylerlong commented 8 years ago

Hi, It seems the code is not standard javascript. It looks like coffeescript but it's not. Could you please kindly tell me which js dialect it is? I need to know this in order to build and generate dist/index.js.

Thank you in advance.

MoOx commented 8 years ago

It's JavaScript ES6/ES2015. That might help you

You can edit it directly and run test using "npm run test". It's compiled to ES5 only before publishing to npm.