Syntaxtic! icon

Syntaxtic!

Extension Actions

CRX ID
cgjalgdhmbpaacnnejmodfinclbdgaci
Description from extension meta

Performs syntax highlighting on files visited in the browser based on their extension

Image from store
Syntaxtic!
Description from store

Syntaxtic! is a chrome extension for syntax highlighting on source files opened in Chrome. This extension was primarily designed for viewing files hosted in a web accessible version control system that doesn't natively provide highlighting but the usage certainly doesn't end there.

A variety of color themes and default sizes can now be selected from the extension options page.

Supported Languages:
Actionscript (.as .actionscript)
Bash (.sh)
C++ (.cpp .h .cc)
C# (.cs)
C (.c .h)
Clojure (.clj)
CSS (.css)
Diff (.diff .patch)
Erlang (.erl)
Groovy (.groovy)
Go (.go)
JavaScript (.js)
Java (.java)
JavaFX (.fx)
Latex (.tex)
Objective-C (.m, .h)
Perl (.pl .perl .pm)
PlainText (.txt)
PowerShell (.ps1 .ps2)
Python (.py)
Ruby (.rb)
Scala (.scala)
Swift (.swift)
Sql (.sql, .pls)
Typescript (.ts)
VisualBasic (.vb)

Experimental Support:
Bibtex (.bib .bibtex)
Common Lisp (.lisp .emacs)
CSV pretty printing

Any file ending in one of the above extensions will be automatically highlighted using the appropriate grammar.

Any comments or suggestions can be directed to http://twitter.com/matheeeny or submitted as issues to https://github.com/matheeeny/Syntaxtic.

This extension would not be possible without Alex Gorbatchev's fantastic syntax highlighting API available at http://alexgorbatchev.com/SyntaxHighlighter/

UPDATES:

v1.1.25
- Added check for content-type = text/html. If found, does not perform syntax highlighting

v1.1.28
- Added .cc as a c++ alias and .pm as a perl alias per request

v1.1.33
- Fixed actionscript as c# issue
- Fixed .cc aliasing

v2.0.43
- Added options page with selectable theme and size

v2.0.44
- Removed unused permissions

v3.0.74
- Added action button to disable line numbers or highlighting for the current page
- Updated to current version of extension manifest
- Small bug fixes
- Removed XML highlighting to let the default webkit viewer do it's thing

v3.0.117
- Added support for Go and CoffeeScript

v4.0.135
- Updated to latest version of syntax highlighting library which should fix many language highlighting issues
- Added support for typescript
- Added support for swift
- Removed CoffeeScript support due to complications with core library update

Latest reviews

Jake Dugas
Works great for my use cases.
Miroslav Cibulka
A bit better than Sight in a way that it opens all files no matter which extension is there. But you can't enforce syntax, nor use all fonts (some of them just plain doesn't work on Mac, even though they are installed - Source Code Pro for instance). But, it is still better, so I am going to use this :D so thank you for this plugin.
Stein Gunnar Bakkeby
This extension is excellent for my needs which often involve having a quick look at .diff files on the web. Something that has been annoying me is that if you double click on some code to copy it everything is selected and it all becomes white and I need to click the left hand side with the line numbers in order to restore the highlighting. Turns out that you can turn that off by going to the Syntaxtic extension options and changing quickCode from Enabled to Disabled. Thanks for this.
Stein Gunnar Bakkeby
This extension is excellent for my needs which often involve having a quick look at .diff files on the web. Something that has been annoying me is that if you double click on some code to copy it everything is selected and it all becomes white and I need to click the left hand side with the line numbers in order to restore the highlighting. Turns out that you can turn that off by going to the Syntaxtic extension options and changing quickCode from Enabled to Disabled. Thanks for this.
DA A
fantastic, but I need auto wrap option function, and beautifier option function. thanks!
DA A
fantastic, but I need auto wrap option function, and beautifier option function. thanks!
Simone Zecca
Cool. Would be nice the ability to add user extension to be opened as simple text. This would help to read plain text files like for instance ".conf" without downloading on local disk
Simone Zecca
Cool. Would be nice the ability to add user extension to be opened as simple text. This would help to read plain text files like for instance ".conf" without downloading on local disk
Greg Johnson
Doesn't handle Javascript well _at all_.
Greg Johnson
Doesn't handle Javascript well _at all_.
Kevin Tang
much easier to check code in the browser with highlighted syntax, thanks for the crx
Kevin Tang
much easier to check code in the browser with highlighted syntax, thanks for the crx
IC
Why no monokai theme?
Max
Very useful. It would be even better with the Solarized color scheme (which doesn't have yet).
Max
Very useful. It would be even better with the Solarized color scheme (which doesn't have yet).
Daniel Mihajlovic
Nice! Perhaps you could incorporate highlight.js themes. The themes you have are acceptable, but there more beautiful ones. If I double click the page It switches into to raw mode, but I have to hit F5 to get back to view mode...?
Daniel Mihajlovic
Nice! Perhaps you could incorporate highlight.js themes. The themes you have are acceptable, but there more beautiful ones. If I double click the page It switches into to raw mode, but I have to hit F5 to get back to view mode...?
Jeff Martens
Has no effect on display of Java sources,
Jeff Martens
Has no effect on display of Java sources,
̇
Don't work with lua :(
̇
Don't work with lua :(
Mayed Abdulla
it's not working with the local pages
Mayed Abdulla
it's not working with the local pages
Vitaly Zdanevich
Please use event page instead of background page - do not eat my RAM all the time.
Vitaly Zdanevich
Please use event page instead of background page - do not eat my RAM all the time.
Anonymous
Don't work with view-source code
Anonymous
Don't work with view-source code
Changbin Du
Can I disable double click function. I dont want use that view.
Changbin Du
Can I disable double click function. I dont want use that view.
石沉溪
cannot support golang. it shows a blank page.
石沉溪
cannot support golang. it shows a blank page.
Bjørn-Tore semb
dosen't work!
Bjørn-Tore semb
dosen't work!
An Toine
Thanks for this great extension, exactly what I was looking for
An Toine
Thanks for this great extension, exactly what I was looking for
Dave Wikoff
Seems interesting, doesn't seem to work for non-http links like chrome-extension:// (Ready from a chrome extension). Seems to need polish.
Dave Wikoff
Seems interesting, doesn't seem to work for non-http links like chrome-extension:// (Ready from a chrome extension). Seems to need polish.
Mark Christian Lopez
Amazing! Any way to set a custom font though?
Mark Christian Lopez
Amazing! Any way to set a custom font though?
thilaka mathan TTS
nice
thilaka mathan TTS
nice
Anton Naruta
Fantastic, does exactly what it's supposed to.
Anton Naruta
Fantastic, does exactly what it's supposed to.
Johan van de Merwe
I think this is a great extension. A lot of times I am looking at the source code of a website of a source code in the browser. And that was just a boring looking bunch of text. This extension reformats it almost like you would see in an source editor. So much clearer and I like the line number feature as well. Highly recommended.
Johan van de Merwe
I think this is a great extension. A lot of times I am looking at the source code of a website of a source code in the browser. And that was just a boring looking bunch of text. This extension reformats it almost like you would see in an source editor. So much clearer and I like the line number feature as well. Highly recommended.
Amadeus Mozart
огонь!)
cang sou
thank you for your develop,hope the plugin will be more an more good.
cang sou
thank you for your develop,hope the plugin will be more an more good.
Alex W.
No word wrap?
Alex W.
No word wrap?