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
... | @@ -101,7 +101,7 @@ gem 'seed-fu', '~> 2.3.5' | ... | @@ -101,7 +101,7 @@ gem 'seed-fu', '~> 2.3.5' |
# Markdown and HTML processing | # Markdown and HTML processing | ||
gem 'html-pipeline', '~> 1.11.0' | gem 'html-pipeline', '~> 1.11.0' | ||
gem 'deckar01-task_list', '1.0.6', require: 'task_list/railtie' | gem 'deckar01-task_list', '1.0.6', require: 'task_list/railtie' | ||
gem 'gitlab-markup', '~> 1.5.1' | gem 'gitlab-markup', '~> 1.5.0' | ||
gem 'redcarpet', '~> 3.3.3' | gem 'redcarpet', '~> 3.3.3' | ||
gem 'RedCloth', '~> 4.3.2' | gem 'RedCloth', '~> 4.3.2' | ||
gem 'rdoc', '~> 4.2' | gem 'rdoc', '~> 4.2' | ||
... | @@ -109,6 +109,7 @@ gem 'org-ruby', '~> 0.9.12' | ... | @@ -109,6 +109,7 @@ gem 'org-ruby', '~> 0.9.12' |
gem 'creole', '~> 0.5.0' | gem 'creole', '~> 0.5.0' | ||
gem 'wikicloth', '0.8.1' | gem 'wikicloth', '0.8.1' | ||
gem 'asciidoctor', '~> 1.5.2' | gem 'asciidoctor', '~> 1.5.2' | ||
gem 'asciidoctor-plantuml', '0.0.6' | |||
gem 'rouge', '~> 2.0' | gem 'rouge', '~> 2.0' | ||
gem 'truncato', '~> 0.7.8' | gem 'truncato', '~> 0.7.8' | ||
... | ... |
32.3 KB