Add support for PlantUML diagrams in Asciidoc.
This MR enables rendering of PlantUML diagrams in Asciidoc documents. To add a PlantUML diagram all we need is to include a plantuml block like: ``` [plantuml, id="myDiagram", width="100px", height="100px"] -- bob -> alice : ping alice -> bob : pong -- ``` The plantuml block is substituted by an HTML img element with *src* pointing to an external PlantUML server. This MR also add a PlantUML integration section to the Administrator -> Settings page to configure the PlantUML rendering service and to enable/disable it. Closes: #17603
Showing
... | ... | @@ -99,18 +99,19 @@ gem 'unf', '~> 0.1.4' |
gem 'seed-fu', '~> 2.3.5' | ||
# Markdown and HTML processing | ||
gem 'html-pipeline', '~> 1.11.0' | ||
gem 'deckar01-task_list', '1.0.6', require: 'task_list/railtie' | ||
gem 'gitlab-markup', '~> 1.5.1' | ||
gem 'redcarpet', '~> 3.3.3' | ||
gem 'RedCloth', '~> 4.3.2' | ||
gem 'rdoc', '~> 4.2' | ||
gem 'org-ruby', '~> 0.9.12' | ||
gem 'creole', '~> 0.5.0' | ||
gem 'wikicloth', '0.8.1' | ||
gem 'asciidoctor', '~> 1.5.2' | ||
gem 'rouge', '~> 2.0' | ||
gem 'truncato', '~> 0.7.8' | ||
gem 'html-pipeline', '~> 1.11.0' | ||
gem 'deckar01-task_list', '1.0.6', require: 'task_list/railtie' | ||
gem 'gitlab-markup', '~> 1.5.0' | ||
gem 'redcarpet', '~> 3.3.3' | ||
gem 'RedCloth', '~> 4.3.2' | ||
gem 'rdoc', '~> 4.2' | ||
gem 'org-ruby', '~> 0.9.12' | ||
gem 'creole', '~> 0.5.0' | ||
gem 'wikicloth', '0.8.1' | ||
gem 'asciidoctor', '~> 1.5.2' | ||
gem 'asciidoctor-plantuml', '0.0.6' | ||
gem 'rouge', '~> 2.0' | ||
gem 'truncato', '~> 0.7.8' | ||
# See https://groups.google.com/forum/#!topic/ruby-security-ann/aSbgDiwb24s | ||
# and https://groups.google.com/forum/#!topic/ruby-security-ann/Dy7YiKb_pMM | ||
... | ... |
32.3 KB