kach/nearley

Syntax highlight Nearley grammars on the website

Open

#351 aperta il 13 feb 2018

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)JavaScript (254 fork)batch import
docshelp wanted

Metriche repository

Star
 (3456 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Since #350, nearley syntax isn't highlighted in the docs -- since we used to be (ab)using other syntaxes, such as js.

We need to do one of:

  • switch the highlighting engine to the same one that GitHub uses, which supports Nearley;
  • write a plugin for highlight.js that understands nearley syntax; or
  • patch our highlight-js integration, in docs/layouts/template.html, to interpret the ne language as something else (js perhaps?)

Guida contributor