Commit Graph

58 Commits (a13654562c59b87236d24a1e629caa83c723c096)

Author SHA1 Message Date
Ethan Koenig 5481be0ac5 Fix issue link rendering in commit messages ()
* Fix issue link rendering in commit messages

* Update page.tmpl

* No links for parens

* remove comment
Lunny Xiao 62d0a4d882 Add external markup render support ()
* 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
Lunny Xiao 0d80af649a Add init support of orgmode document type on file view and readme ()
* 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
Lunny Xiao 52e11b24bf Restructure markup & markdown to prepare for multiple markup language… ()
* restructure markup & markdown to prepare for multiple markup languages support

* adjust some functions between markdown and markup

* fix tests

* improve the comments
Ethan Koenig 9e627af9a4 gofmt ()
mappu fd76f090a2 markup: microoptimise for many short filenames in directory ()
* markup: microoptimise for many short filenames in directory

Move strings.ToLower() after the early-return length check. This is a safe operation in all cases and should slightly improve directory listing performance when a directory contains many thousands of files with short filenames.

* markup: expand test cases for IsReadmeFile()
Lunny Xiao 0d1e001b9c fix multiple readme file rendering and fix ()
* fix multiple readme file rendering and fix 

* remove unnecessary loop
Lunny Xiao 52627032bc Add markup package to prepare for org markup format ()