Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nixinova/novalightshow

A replacement for GitHub LightShow.
https://github.com/nixinova/novalightshow

github-linguist lightshow syntax-highlighting textmate

Last synced: 2 months ago
JSON representation

A replacement for GitHub LightShow.

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`.