Skip to content

Commit

Permalink
Equalize the appearance of inline code and code blocks
Browse files Browse the repository at this point in the history
Fixes #22181 #22485, PR #1987
  • Loading branch information
grummbeer committed Apr 7, 2024
1 parent 1004277 commit 47ef2e6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions plugins/MantisCoreFormatting/files/markdown.css
@@ -1,3 +1,17 @@
/* Adjust color of inline code */
code {
color: #333;
background-color: #f5f5f5;
}

/*
* Increases the distance between a code block
* and its previous line within a list.
*/
li > pre {
margin-top: .4rem;
}

/* quotes */
blockquote {
padding: 0.13em 1em;
Expand Down

0 comments on commit 47ef2e6

Please sign in to comment.