diff options
author | Horacio Sanson <horacio@allm.net> | 2017-01-16 09:07:02 +0900 |
---|---|---|
committer | Horacio Sanson <horacio@allm.net> | 2017-02-03 08:49:48 +0900 |
commit | d9e9ad2211c06159914e0183e4842abc16e5666f (patch) | |
tree | ffa7e02948f10a42b42d33d3b568774c147bd98c /config | |
parent | e7d530a624fbb8854047c3983eaa0972a19f36c8 (diff) | |
download | gitlab-ce-d9e9ad2211c06159914e0183e4842abc16e5666f.tar.gz |
PlantUML support for Markdown
Allow rendering of PlantUML diagrams in Markdown documents using fenced blocks:
```plantuml
Bob -> Sara : Hello
Sara -> Bob : Go away
```
Closes: #4048
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/plantuml_lexer.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/initializers/plantuml_lexer.rb b/config/initializers/plantuml_lexer.rb new file mode 100644 index 00000000000..e8a77b146fa --- /dev/null +++ b/config/initializers/plantuml_lexer.rb @@ -0,0 +1,2 @@ +# Touch the lexers so it is registered with Rouge +Rouge::Lexers::Plantuml |