GN is a meta-build system that generates build files for Ninja.
highlightjs / highlightjs-gn Goto Github PK
View Code? Open in Web Editor NEWGN is a meta-build system that generates build files for Ninja.
License: MIT License
GN is a meta-build system that generates build files for Ninja.
License: MIT License
Users finding your repo from the SUPPORTED_LANGUAGES list will expect to find instructions on how to add your 3rd party grammar to their project.
Please see:
#3008 is specifically related to upgrading from v10 to v11 but it still applies to the proper way to structure your repo to make it easiest to use for the most people.
Updated:
This issue is being opened as part of our iniative to make all 3rd party grammars:
Please include a dist
folder that includes a ready-to-go CDN distributable that can be used with a single line of JS. IE, our simple 3 install should "just work" without any other code or markup:
<script type="text/javascript" src="/path/to/highlight.min.js"></script>
<script type="text/javascript" src="/path/to/highlightjs-GN/GN.js"></script>
<script type="text/javascript">hljs.highlightAll();</script>
Your README optimally would also document this usage. Please see the robots-txt
repository for a usage example.
Our build system can generate this file for you (and we recommend that). Using our internal build system also allows you to easily check your grammar for exponential or polynomical run-away regular expressions.
If you have any questions, feel free to ask!
Thanks,
Highlight.js Maintainer
If you no longer have time to maintain this anymore we'll need mark it archived and I'll add a notice to the README that it's currently unmaintained and in need of a maintainer.
Please let me know.
Thanks,
Contribute to the thought process for 3rd party language packaging if you'd like
As a maintainer of a Highlight.js language grammar you might be interested in the discussion of an official packaging format. I just created an issue to track the discussion and I've been working on this along with the new build system.
Sorry for the spam, but I couldn't think of an easier way to ping the people who might be most interested in weighing in on the subject. Feel free to simply close this issue or leave it open (whatever works best for you!).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.