Skip to content

Commit ced722e

Browse files
committed
Added additional styles to markdown code blocks with documentation
1 parent fd79c88 commit ced722e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

theme.scss

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,14 +353,28 @@ code {
353353
color: $gs-primary-color;
354354
font-style: inherit;
355355
}
356+
// Color of keywords in code blocks
356357
.im {
357358
color: $code-keyword-color;
358359
font-style: inherit;
359360
}
361+
// Color of strings in code blocks
360362
.st {
361363
color: $code-string-color;
362364
font-style: inherit;
363365
}
366+
// Color of titles in markdown code blocks
367+
.fu {
368+
color: $code-string-color;
369+
}
370+
// Color of pipes in markdown code blocks
371+
.pp {
372+
color: $code-keyword-color;
373+
}
374+
// Color of blockquotes in markdown code blocks
375+
.at {
376+
color: $gs-secondary-dark-color;
377+
}
364378
}
365379
}
366380

0 commit comments

Comments
 (0)