Syntaxtic!

#4.08 / 200 rate

Syntaxtic!

8,000 users

2019-12-26

andrew.j.matheny

Extension Information

5 star
40%
4 star
16%
3 star
24%
2 star
8%
1 star
12%

Supported Languages

Permissions

Description

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

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

Reviews

Jake Dugas
Jake Dugas

Works great for my use cases.

Miroslav Cibulka
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.

Diva Mujaddidi
Diva Mujaddidi

Similar extensions

Clear Code
Clear Code

softharbour

Sight
Sight

tsenart

Refined GitHub
Refined GitHub

Sindre Sorhus

Code Formatter
Code Formatter

https://yassershaikh.dev

DevTools Theme: Zero Dark Matrix
DevTools Theme: Zero Dark Matrix

Maurice Cruz

Syntax Highlight Code Blocks
Syntax Highlight Code Blocks

Mackenzie Zastrow

Sourcegraph
Sourcegraph

https://sourcegraph.com

Octotree - GitHub code tree
Octotree - GitHub code tree

https://octotree.io

Git Patch Viewer
Git Patch Viewer

DENG Yi

XML Tree
XML Tree

alan.stroop

My Java Zone Extension
My Java Zone Extension

https://www.myjavazone.com

Undisposition [Racle fork]
Undisposition [Racle fork]

Racle