mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Markdown rendering overhaul (#186)
* Markdown rendering overhaul Cleaned up and squashed commits into single one. Signed-off-by: Andrew Boyarshin <boyarshinand@gmail.com> * Fix markdown API, add markdown module and API tests, improve code coverage Signed-off-by: Andrew Boyarshin <boyarshinand@gmail.com>
This commit is contained in:
committed by
Lunny Xiao
parent
5cc275b1de
commit
dc8248f8a4
@@ -602,7 +602,7 @@ footer .ui.language .menu {
|
||||
list-style-type: lower-roman;
|
||||
}
|
||||
.markdown:not(code) li > p {
|
||||
margin-top: 16px;
|
||||
margin-top: 0;
|
||||
}
|
||||
.markdown:not(code) dl {
|
||||
padding: 0;
|
||||
@@ -841,6 +841,11 @@ footer .ui.language .menu {
|
||||
background: #f8f8f8;
|
||||
border-top: 0;
|
||||
}
|
||||
.markdown:not(code) .ui.list .list,
|
||||
.markdown:not(code) ol.ui.list ol,
|
||||
.markdown:not(code) ul.ui.list ul {
|
||||
padding-left: 2em;
|
||||
}
|
||||
.home {
|
||||
padding-bottom: 80px;
|
||||
}
|
||||
|
Reference in New Issue
Block a user