Commit Graph

5 Commits (3c46cd6aae4ed4a01d0471767563c5d882fc5b45)

Author SHA1 Message Date
wxiaoguang 781c6df40f
Add sub issue list support ()
Just like GitHub, show issue icon/title when the issue number is in a list
wxiaoguang 633785a5f3
Refactor markup render system ()
This PR removes (almost) all path tricks, and introduces "renderhelper"
package.

Now we can clearly see the rendering behaviors for comment/file/wiki,
more details are in "renderhelper" tests.

Fix  , fix , fix  and maybe more problems. (ps: fix
 by the way)
wxiaoguang c4e27cb27b
Refactor markup render system ()
This PR mainly moves some code and introduces `RenderContext.WithXxx`
functions
wxiaoguang 5eebe1dc5f
Fix and refactor markdown rendering ()
wxiaoguang 61be51e56b
Refactor markup package ()
To make the markup package easier to maintain:
1. Split some go files into small files
2. Use a shared util.NopCloser, remove duplicate code
3. Remove unused functions