web frontend for git (tangled's grandpa)
7
fork

Configure Feed

Select the types of activity you want to include in your feed.

markdown: more file exts, fix img

+9 -2
+5 -2
routes/routes.go
··· 110 110 content, _ := gr.FileContent(readme) 111 111 if len(content) > 0 { 112 112 switch ext { 113 - case ".md": 114 - unsafe := blackfriday.Run([]byte(content), blackfriday.WithExtensions(blackfriday.CommonExtensions)) 113 + case ".md", ".mkd", ".markdown": 114 + unsafe := blackfriday.Run( 115 + []byte(content), 116 + blackfriday.WithExtensions(blackfriday.CommonExtensions), 117 + ) 115 118 html := bluemonday.UGCPolicy().SanitizeBytes(unsafe) 116 119 readmeContent = template.HTML(html) 117 120 default:
+4
static/style.css
··· 162 162 padding: revert; 163 163 } 164 164 165 + .readme img { 166 + max-width: 100%; 167 + } 168 + 165 169 .diff { 166 170 margin: 1rem 0 1rem 0; 167 171 padding: 1rem 0 1rem 0;