diff --git a/src/theme/css/book.css b/src/theme/css/book.css index fa541039..61281049 100644 --- a/src/theme/css/book.css +++ b/src/theme/css/book.css @@ -7,8 +7,17 @@ p { } code { font-family: "Source Code Pro", monospace; + padding: 0 !important; +} +code:not(.block) { padding: 0 0 1pt 0 !important; } +code:not(.block)::before { + content: '‘'; +} +code:not(.block)::after { + content: '’'; +} pre { margin-left: 2em; }