Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Commit

Permalink
Merge branch 't/ebe6fbd4'
Browse files Browse the repository at this point in the history
  • Loading branch information
nickolasburr committed May 4, 2019
2 parents ebe6fbd + 2dc42ca commit 020598a
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 3 deletions.
41 changes: 41 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# gitweb.js

Support language detection and syntax highlighting in legacy versions of [gitweb(1)](https://git-scm.com/docs/gitweb).

## Table of Contents

- [Description](#description)
- [Languages](#languages)
- [File Type Associations](#file-type-associations)

## Description

Legacy versions of Gitweb lack support for language detection and syntax highlighting, an important feature
found in modern VCS repository web UIs. For many, upgrading major versions is risky, time consuming, and prone
to downtime.

gitweb.js is a microlibrary that provides customizable support for language detection and syntax highlighting by
using [highlight.js](https://highlightjs.org) and jQuery.

## Languages

By default, language support is provided for:

- C
- C++
- CSS
- HTML
- JavaScript
- Perl
- PHP
- Ruby

## File Type Associations

All languages have at least one file types that can be directly associated with
source files of the given language. Likewise, many languages have multiple file
types that should be recognized as the same language. An example would be in PHP,
where `.php`, `.php5`, and `.phtml` are all valid PHP file types.

gitweb.js provides support for detecting and highlighting file types associated
with a primary file type.
3 changes: 0 additions & 3 deletions readme.md

This file was deleted.

0 comments on commit 020598a

Please sign in to comment.