]> source.dussan.org Git - gitea.git/commit
Add external markup render support (#2570)
authorLunny Xiao <xiaolunwen@gmail.com>
Tue, 7 Nov 2017 06:33:06 +0000 (14:33 +0800)
committerLauris BH <lauris@nix.lv>
Tue, 7 Nov 2017 06:33:06 +0000 (08:33 +0200)
commit62d0a4d8829f214af4f9c00ecf8a81907d86ef06
treec227fd240dcebde532b5ecef7d4b60a042e1f77e
parentddb75191eca30343783521c06f8706397c9260b8
Add external markup render support (#2570)

* add external markup render support

* bug fixed

* refacotr codes and fix wrong error log

* fix comments and add check to prevent leaks

* add check for config file and improve the example

* check file close error

* use ioutil.TempFile instead uuid

* correct Render -> Parser

* improve warning when incorrect markup setting

* fix typos
cmd/web.go
conf/app.ini
modules/markup/external/external.go [new file with mode: 0644]
modules/setting/setting.go