diff options
author | silverwind <me@silverwind.io> | 2020-07-27 08:24:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-27 02:24:09 -0400 |
commit | 4315e313d12bbf0655710b6ab0aad121e0f7dba2 (patch) | |
tree | dfcc816a013288f5112f3be4f38ac183557220fb /package.json | |
parent | 46ef562a161a2685d429ffd7dc594383de533c07 (diff) | |
download | gitea-4315e313d12bbf0655710b6ab0aad121e0f7dba2.tar.gz gitea-4315e313d12bbf0655710b6ab0aad121e0f7dba2.zip |
Add mermaid JS renderer (#12334)
* Add mermaid JS renderer
For feature parity with GitLab. Tested in files, issues, wiki, editor.
arc-green only does an inversion because the renderer seems to like to
render white backgrounds on boxes.
Ref: https://github.com/go-gitea/gitea/issues/3340
Fixes: https://github.com/go-gitea/gitea/issues/12307
* add feature entry, switch to neutral theme, remove border
* add bindFunctions support
* remove unnecessary border-radius
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json index ad4eca5cc3..56d021d579 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "jquery.are-you-sure": "1.9.0", "less-loader": "6.2.0", "license-webpack-plugin": "2.2.0", + "mermaid": "8.6.3", "mini-css-extract-plugin": "0.9.0", "monaco-editor": "0.20.0", "monaco-editor-webpack-plugin": "1.9.0", |