mirror of
https://github.com/go-gitea/gitea
synced 2025-07-15 23:17:19 +00:00
Render embedded code preview by permlink in markdown (#30234)
The permlink in markdown will be rendered as a code preview block, like GitHub Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
@@ -382,7 +382,7 @@
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.markup span.align-center span img
|
||||
.markup span.align-center span img,
|
||||
.markup span.align-center span video {
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
@@ -432,7 +432,7 @@
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.markup code,
|
||||
.markup code:not(.code-inner),
|
||||
.markup tt {
|
||||
padding: 0.2em 0.4em;
|
||||
margin: 0;
|
||||
|
Reference in New Issue
Block a user