mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-04 09:15:58 +02:00
ui(resources): highlight inline code in markdown
This commit is contained in:
@@ -68,6 +68,15 @@ export const MarkdownWrapper = styled.div`
|
||||
${modularScaleCSS(1)};
|
||||
}
|
||||
|
||||
code {
|
||||
background: #192129;
|
||||
padding: 4px 8px;
|
||||
display: inline;
|
||||
border-radius: 3px;
|
||||
letter-spacing: 0.25px;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
:not(pre) > code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
overflow-x: auto;
|
||||
|
||||
Reference in New Issue
Block a user