Skip to content

Commit

Permalink
add css style for code inside markdown (#551)
Browse files Browse the repository at this point in the history
  • Loading branch information
Moelf authored Oct 14, 2020
1 parent 355edff commit 46d33ce
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion frontend/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,12 @@ pluto-output code {
font-size: 0.75em; /* not rem */
}

pluto-output:not(.inline_output) code {
padding: 3px;
border-radius: 8px;
background-color: #f2f2f2;
}

pluto-output pre {
display: inline-block;
margin: 0px;
Expand Down Expand Up @@ -197,7 +203,7 @@ pluto-output blockquote {
padding: 15px;

border-radius: 15px;
background-color: #fafafa;
background-color: #f2f2f2;
color: #555;
}

Expand Down

0 comments on commit 46d33ce

Please sign in to comment.