Skip to content
Sections
>> Trisquel >> Balíky >> nabia >> javascript >> node-prismjs
nabia  ] [  aramo  ]
[ Zdroj: node-prismjs  ]

Balík: node-prismjs (1.11.0+dfsg-3)

Lightweight, robust, elegant syntax highlighting

A spin-off project from Dabblet. Some of its unique features include:

 * It’s tiny. The core is only 1.5KB minified & gzipped.
 * It’s incredibly extensible. Not only it’s easy to add new languages, but
   also to extend existing ones.
 * It encourages good author practices. Other highlighters encourage or even
   force you to use elements that are semantically wrong, like <pre> (on its
   own) or <script>. Prism forces you to use the only semantically correct
   element for marking up code: <code>.
 * One of its best features: The language definition is inherited. This means
   that if multiple code snippets have the same language, you can just define
   it once, in one of their common ancestors.
 * It looks good. All three of its existing themes.
 * It supports parallelism through Web Workers, for better performance in
   certain cases.
 * It doesn’t force you to use any Prism-specific markup, not even a
   Prism-specific class name, only standard markup you should be using anyway.

Node.js is an event-based server-side JavaScript engine.

Ostatné balíky súvisiace s balíkom node-prismjs

  • závisí
  • odporúča
  • navrhuje
  • dep: node-clipboard (>= 1.7.1)
    Node.js module to copy to clipboard without flash
  • dep: nodejs
    evented I/O for V8 javascript - runtime executable
    tiež virtuálny balík poskytovaný balíkom node-pegjs

Stiahnuť node-prismjs

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
all 165.0 kB944 kB [zoznam súborov]