Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dragomano/highlight.js-for-smf
This script highlights syntax in code examples on SMF forum.
https://github.com/dragomano/highlight.js-for-smf
php smf-mods syntax-highlighting
Last synced: 3 days ago
JSON representation
This script highlights syntax in code examples on SMF forum.
- Host: GitHub
- URL: https://github.com/dragomano/highlight.js-for-smf
- Owner: dragomano
- License: bsd-3-clause
- Created: 2018-08-04T04:32:20.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-12-14T16:56:05.000Z (19 days ago)
- Last Synced: 2024-12-14T17:30:30.893Z (19 days ago)
- Topics: php, smf-mods, syntax-highlighting
- Language: CSS
- Homepage: https://custom.simplemachines.org/index.php?mod=2925
- Size: 629 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# highlight.js for SMF
[![SMF 2.1](https://img.shields.io/badge/SMF-2.1-ed6033.svg?style=flat)](https://github.com/SimpleMachines/SMF2.1)
![License](https://img.shields.io/github/license/dragomano/code-highlighting)
![Hooks only: Yes](https://img.shields.io/badge/Hooks%20only-YES-blue)- **Tested on:** PHP 8.2.16
- **Languages:** English, French, Russian, Spanish, German## Description
This script highlights syntax in code examples on your forum.
It is very easy to use because it works automatically: finds blocks of code, detects a language, highlights it.
Supported languages: HTML/XML, Javascript, CSS, PHP, Ruby, Perl, Python, C++, C#, Java, SQL, Bash etc.This mod uses scripts of Ivan Sagalaev [highlight.js](https://highlightjs.org) and Yauheni Pakala [highlightjs-line-numbers.js](https://github.com/wcoder/highlightjs-line-numbers.js).
Highlight.js is released under the BSD License.
---
## Описание
Подсветка с автоматическим определением используемого языка, а также с возможностью выбора стиля оформления.
Поддерживаемые языки: HTML/XML, Javascript, CSS, PHP, Ruby, Perl, Python, C++, C#, Java, SQL, Bash и многие другие.Используются скрипты Ивана Сагалаева [highlight.js](https://highlightjs.org) и Евгения Пакало [highlightjs-line-numbers.js](https://github.com/wcoder/highlightjs-line-numbers.js).
Highlight.js распространяется на условиях лицензии BSD.