Skip to content

Commit dc8248f

Browse files
andrew-boyarshinlunny
authored andcommitted
Markdown rendering overhaul (#186)
* Markdown rendering overhaul Cleaned up and squashed commits into single one. Signed-off-by: Andrew Boyarshin <[email protected]> * Fix markdown API, add markdown module and API tests, improve code coverage Signed-off-by: Andrew Boyarshin <[email protected]>
1 parent 5cc275b commit dc8248f

File tree

13 files changed

+1374
-187
lines changed

13 files changed

+1374
-187
lines changed

cmd/web.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,11 @@ func runWeb(ctx *cli.Context) error {
563563
}, reqSignIn, reqRepoWriter)
564564
}, repo.MustEnableUncyclo, context.RepoRef())
565565

566+
m.Group("/wiki", func() {
567+
m.Get("/raw/*", repo.UncycloRaw)
568+
m.Get("/*", repo.UncycloRaw)
569+
}, repo.MustEnableUncyclo)
570+
566571
m.Get("/archive/*", repo.Download)
567572

568573
m.Group("/pulls/:index", func() {

0 commit comments

Comments
 (0)