Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nixinova/novalightshow
A replacement for GitHub LightShow.
https://github.com/nixinova/novalightshow
github-linguist lightshow syntax-highlighting textmate
Last synced: 9 days ago
JSON representation
A replacement for GitHub LightShow.
- Host: GitHub
- URL: https://github.com/nixinova/novalightshow
- Owner: Nixinova
- License: isc
- Created: 2022-05-21T04:43:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-11T10:09:41.000Z (3 months ago)
- Last Synced: 2024-10-11T23:19:00.808Z (26 days ago)
- Topics: github-linguist, lightshow, syntax-highlighting, textmate
- Language: JavaScript
- Homepage: https://novalightshow.netlify.app
- Size: 20.5 KB
- Stars: 3
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# NovaLightshow
> *Lightshow anew!*A website to preview how a TextMate grammar will apply syntax highlighting to associated files on GitHub.
A replacement for the now-defunct GitHub Lightshow.
Supports JSON, CSON, YAML, and XML PList grammars.
---
> [**Try it out!**](https://novalightshow.netlify.app)
---
## URL API
> `https://novalightshow.netlify.app/?grammar-type={text|url}&grammar=&sample-type={text|url}&sample=`
- `grammar-type={text|url}`: Whether to treat the `grammar` content as raw text or a URL to a file.
- `grammar=`: The grammar content to use, either as text or a URL to fetch from, as determined by `grammar-type`
- `sample-type={text|url}`: Whether to treat the `sample` content as text or a URL to fetch from.
- `sample=`: The sample content to highlight, either as text or a URL, as determined by `sample-type`.