summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2017-09-21 13:20:14 +0800
committerGitHub <noreply@github.com>2017-09-21 13:20:14 +0800
commit0d80af649a50c4b9e5e4ba764399872fc92f70f2 (patch)
treef09f289260005bc6913119643230c08c81dfab49 /main.go
parent66bc0ac251f564491ed0a6d5d4cfa0a11af09303 (diff)
downloadgitea-0d80af649a50c4b9e5e4ba764399872fc92f70f2.tar.gz
gitea-0d80af649a50c4b9e5e4ba764399872fc92f70f2.zip
Add init support of orgmode document type on file view and readme (#2525)
* add init support of orgmode document type on file view and readme * fix imports * fix imports and readmeExist * fix imports order * fix format * remove unnecessary convert
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.go b/main.go
index 383dbc2093..c2acda99af 100644
--- a/main.go
+++ b/main.go
@@ -13,6 +13,10 @@ import (
"code.gitea.io/gitea/cmd"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/setting"
+ // register supported doc types
+ _ "code.gitea.io/gitea/modules/markup/markdown"
+ _ "code.gitea.io/gitea/modules/markup/orgmode"
+
"github.com/urfave/cli"
)