Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add syntax highlighter #963

Closed
Studio384 opened this issue Nov 8, 2014 · 0 comments
Closed

Add syntax highlighter #963

Studio384 opened this issue Nov 8, 2014 · 0 comments

Comments

@Studio384
Copy link
Member

And I guess where going with PrismJS. Stuff we'll support:

  • Markup
  • CSS
  • C-like
    • Javascript
  • PHP

We will not include more languages in core because, well, that would make one giant component. Instead, we'll provide a link to the download page to create your own combination of languages. Also, we'll include these plugins:

  • Line Numbers
  • Show language

The size of t he PrismJS compontent in Luna will be 10.46 kB.

http://prismjs.com/download.html

Extentions

Languages you can additionaly install are:

Twig, CSS Extras, Java, PHP Extras, CoffeeScript, Sass, Bash, C, C++ Python, SQL, Groovy, HTTP, Ruby, Rip, Gherkin, C#, Go, NSIS, ASP.NET (C#), Scala, Haskell, Swift, Objective-C, AutoHotkey, Ini, LaTeX, Apache Configuration, Git and Scheme.

Plugins you can additionaly install are:
Line Highlight, Line Numbers, Show Invisibles, Autolinker, WebPlatform Docs, Show Language, and File Highlight

When all these plugins and languages are included, the size is 64.22 kB.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant