Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

An example of how to use highlight.js to identify programming languages.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 css
Octocat-spinner-32 javascript
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 index.html
README.md

An example of how to use highlight.js to identify programming languages.

http://softwaremaniacs.org/soft/highlight/en/

This uses the highlightAuto(code) method in highlight,js to identify the language. It isn't very accurate, but longer code snippets are more likely to be recognized correctly.

Something went wrong with that request. Please try again.