mirror of
https://github.com/zyllian/webdog.git
synced 2025-05-09 18:16:40 -07:00
add syntax highlighting for code blocks
This commit is contained in:
parent
a8d8096ba6
commit
e3630208fa
8 changed files with 251 additions and 6 deletions
|
@ -166,3 +166,17 @@ abbr {
|
|||
.flex-spacer {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.wd-codeblock {
|
||||
position: relative;
|
||||
|
||||
.copy {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
& > pre {
|
||||
padding: 8px;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue