aboutsummaryrefslogtreecommitdiffstats
path: root/modules/markup/markup_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Refactor renders (#15175)Lunny Xiao2021-04-191-62/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Refactor renders * Some performance optimization * Fix comment * Transform reader * Fix csv test * Fix test * Fix tests * Improve optimaziation * Fix test * Fix test * Detect file encoding with reader * Improve optimaziation * reduce memory usage * improve code * fix build * Fix test * Fix for go1.15 * Fix render * Fix comment * Fix lint * Fix test * Don't use NormalEOF when unnecessary * revert change on util.go * Apply suggestions from code review Co-authored-by: zeripath <art27@cantab.net> * rename function * Take NormalEOF back Co-authored-by: zeripath <art27@cantab.net>
* Prioritize "readme.md" (#5691)Khaled Hamed2019-01-141-0/+22
| | | | | | | | * prioritize readme.md * Improve IsReadmeFile * Add more tests
* Add init support of orgmode document type on file view and readme (#2525)Lunny Xiao2017-09-211-1/+1
| | | | | | | | | | | | | | * 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
* Restructure markup & markdown to prepare for multiple markup languageā€¦ (#2411)Lunny Xiao2017-09-161-1/+4
| | | | | | | | | | * restructure markup & markdown to prepare for multiple markup languages support * adjust some functions between markdown and markup * fix tests * improve the comments
* markup: microoptimise for many short filenames in directory (#1534)mappu2017-05-091-0/+1
| | | | | | | | * 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()
* Add markup package to prepare for org markup format (#1493)Lunny Xiao2017-04-211-0/+36