-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aa1cb7e
commit 0d8f1fb
Showing
2 changed files
with
24 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
language: php | ||
|
||
php: | ||
- 5.3 | ||
- 5.4 | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
- 7.1 | ||
|
||
script: | ||
- if find . -name "*.php" -exec php -l {} 2>&1 \; | grep "syntax error, unexpected"; then exit 1; fi | ||
- if find . -name "*.php" -exec php -l {} 2>&1 \; | grep "syntax error, unexpected"; then exit 1; fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,42 @@ | ||
[![GitHub release](https://img.shields.io/github/release/realdigger/SMF-SyntaxHighlighter.svg)]() | ||
[![Build Status](https://travis-ci.org/realdigger/SMF-SyntaxHighlighter.svg?branch=master)](https://travis-ci.org/realdigger/SMF-SyntaxHighlighter) | ||
[![SMF](https://img.shields.io/badge/SMF-2.0-blue.svg?style==flat)](https://simplemachines.org) | ||
[![SMF](https://img.shields.io/badge/SMF-2.1-blue.svg?style==flat)](https://simplemachines.org) | ||
[![Hooks](https://img.shields.io/badge/hooks%20only-✓-blue.svg?style==flat)]() | ||
[![license](https://img.shields.io/github/license/realdigger/SMF-SyntaxHighlighter.svg)]() | ||
|
||
# SMF Code Syntax Highlighter mod | ||
* **Author:** digger http://mysmf.net | ||
* **License:** The MIT License (MIT) | ||
* **Compatible with:** SMF 2.0, SMF 2.1 | ||
* **Languages:** English, Russian | ||
* **Hooks only:** Yes | ||
|
||
## Installation | ||
Download and install latest release tar.gz file from [releases page](https://github.com/realdigger/SMF-SyntaxHighlighter/releases). | ||
|
||
|
||
## Description | ||
Code Syntax Highlighter for SMF. You can select preferred highlight script. | ||
|
||
SyntaxHighlighter http://alexgorbatchev.com/SyntaxHighlighter | ||
SyntaxHighlighter http://alexgorbatchev.com/SyntaxHighlighter | ||
Highlight.js https://highlightjs.org | ||
|
||
![highlight](https://user-images.githubusercontent.com/1187218/35664304-e9994b60-073a-11e8-9f86-db858fe2b7ca.png) | ||
|
||
![syntax](https://user-images.githubusercontent.com/1187218/34432528-8687693a-ec91-11e7-827e-2d8ed54a8293.png) | ||
|
||
|
||
## Установка | ||
Загрузите и установите файл tar.gz актуальной версии со [страницы загрузок](https://github.com/realdigger/SMF-SyntaxHighlighter). | ||
|
||
## Описание | ||
Мод для автоматической подсветки синтаксиса исходных текстов программного кода. Позволяет использовать на выбор один из двух скриптов подсветки — SyntaxHighlighter или Highlight.js. | ||
|
||
SyntaxHighlighter — это полнофункциональный автономный подсветчик синтаксиса, написанный на JavaScript. | ||
SyntaxHighlighter распространяется под лицензией MIT http://opensource.org/licenses/mit-license.php | ||
Официальный сайт билиотеки расположен по адресу http://alexgorbatchev.com/SyntaxHighlighter | ||
Официальный сайт библиотеки расположен по адресу http://alexgorbatchev.com/SyntaxHighlighter | ||
|
||
Highlight.js — это подсветчик синтаксиса, написанный на JavaScript. Он работает с практически любой HTML разметкой, не зависит от каких-либо фреймворков и умеет автоматически определять язык. | ||
Highlight.js распространяется под лицензией BSD http://opensource.org/licenses/BSD-3-Clause | ||
Официальный сайт билиотеки расположен по адресу https://highlightjs.org | ||
Официальный сайт библиотеки расположен по адресу https://highlightjs.org |