mantisbt-plugins / BBCodePlus

BBCode plugin for Mantis BugTracker 1.3 and 2.x
GNU General Public License v2.0
29 stars 13 forks source link
mantisbt-plugin

BBCodePlus

Description

BBCode plugin for Mantis BugTracker 2.x

Incorporates the following configurable features:

Repository Information

NOTE: BBCodePlus 2.x is now the master for the BBCodePlus project. Please re-fork or (carefully) update your fork (branch structure on upstream and origin).

Branch Description
master Support for MantisBT 2.x (current production version).
master-1.3.x Support for MantisBT 1.3.x (legacy).

Contributing to BBCodePlus

If you would like to contribute to BBCode plus, please read this guide first.

Change Log

2.1.19

2.1.18

2.1.17

2.1.16

2.1.15

2.1.14

2.1.13

2.1.12

2.1.11

2.1.10

2.1.9

2.1.8

2.1.7

2.1.6

2.1.5

2.1.4

2.1.3

2.1.2

2.1.1

2.1.0

Screenshots:

Markup editor

Configuration

Configuration

Supported BBCode Tags

[img][/img] - Images.
[url][/url] - Links.
[email][/email] - Email addresses.
[color=red][/color] - Colored text.
[highlight=yellow][/highlight] - Highlighted text.
[size][/size] - Font size.
[list][/list] - Unordered lists.
[list=1][/list] - Numbered lists (number is starting number).
[list=a][/list] - Alpha lists (letter is starting letter).
[*] - List items.
[b][/b] - Bold.
[u][/u] - underline
[i][/i] - Italic.
[s][/s] - Strikethrough.
[left][/left] - Left align.
[center][/center] - Center.
[right][/right] - Right align.
[justify][/justify] - Justify.
[hr] - Horizontal rule.
[sub][/sub] - Subscript.
[sup][/sup] - Superscript.
[table][/table] - Table.
[table=1][/table] - Table with border of specified width.
[thead][/thead] - Table head block.
[tbody][/tbody] - Table body block.
[tr][/tr] - Table row.
[th][/th] - Table header column.
[td][/td] - Table column.
[code][/code] - Code block.
[code=sql][/code] - Code block with language definition.
[code start=3][/code] - Code block with line numbers starting at number.
[code=sql start=3][/code] - Code block with language definition and line numbers starting at number.
[quote][/quote] - Quote by *someone* (no name).
[quote=name][/quote] - Quote by *name*.

Supported Languages for Code Highlighting

The implementation of prism.js includes support for languages in 2 modes:

Languages supported by default

Keyword Description
aspnet ASP.NET
bash Bash + Shell
basic BASIC
batch Batch
clike C-like
cpp C++
csharp C#
csp CoffeeScript
css CSS
c C
django Django/Jinja2
docker Docker
hpkp HTTP Public-Key-Pins
hsts HTTP Strict-Transport-Security
http HTTP
ini Ini
javadoclike JavaDoc-like
javascript JavaScript
java Java
js-extras JS Extras
json5 JSON5
jsonp JSONP
json JSON
markup-templating Markup templating
markup Markup + HTML + XML + SVG + MathML
nginx nginx
pascal Pascal + Object Pascal
perl Perl
php-extras PHP Extras
phpdoc PHPDoc
php PHP
plsql PL/SQL
powershell PowerShell
python Python
regex Regex
ruby Ruby
smarty Smarty
sql SQL
vbnet VB.NET
vim vim
visual-basic Visual Basic
wiki Wiki markup
xquery XQuery
yaml YAML

Languages supported by the extra languages feature

Keyword Description
abap ABAP
actionscript ActionScript
apl APL
applescript AppleScript
autohotkey AutoHotKey
bison Bison
brainfuck Brainfuck
coffeescript CoffeeScript
css-extras CSS Extras
dart Dart
diff Diff
d D
eiffel Eiffel
elixir Elixir
erlang Erlang
fortran Fortran
fsharp F#
gherkin Gherkin
git Git
glsl GLSL
go Go
groovy Groovy
haskell Haskell
inform7 Inform 7
jsx React JSX
julia Julia
j J
keyman Keyman
latex LaTex
less Less
lolcode LOLCODE
makefile Makefile
markdown Markdown
matlab MATLAB
mel MEL
mizar Mizar
monkey Monkey
nasm NASM
nim Nim
nsis NSIS
objectivec Objective-C
ocaml OCaml
processing Processing
prolog Prolog
pure Pure
qore Qore
q Q
regex Regex
rest reST
rip Rip
rust Rust
r R
sass Sass (Sass)
sas SAS
scala Scala
scheme Scheme
scss Sass (Scss)
smalltalk Smalltalk
swift Swift
tcl Tcl
twig Twig
typescript TypeScript
verilog Verilog
vhdl VHDL