1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 17:14:27 +00:00
gitea/modules/markup/markdown
Lunny Xiao 9d99f6ab19
Refactor renders (#15175)
* 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>
2021-04-19 18:25:08 -04:00
..
ast.go Make TaskCheckBox render correctly (#11214) 2020-04-26 02:09:08 -03:00
goldmark.go Links in markdown should be absolute to the repository not the server (#15088) 2021-04-11 00:26:28 +08:00
markdown_test.go Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
markdown.go Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
meta_test.go Fix markdown meta parsing (#12817) 2020-09-12 21:48:47 -04:00
meta.go Fix markdown meta parsing (#12817) 2020-09-12 21:48:47 -04:00
renderconfig.go Use markdown frontmatter to provide Table of contents, language and frontmatter rendering (#11047) 2020-04-24 14:22:36 +01:00
toc.go Use markdown frontmatter to provide Table of contents, language and frontmatter rendering (#11047) 2020-04-24 14:22:36 +01:00