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
|
@ -3,6 +3,7 @@ title: webdog
|
|||
description: "static site builder for dogs"
|
||||
sass_styles: [index.scss]
|
||||
cdn_url: "https://i.zyl.gay"
|
||||
code_theme: base16-ocean.dark # options: base16-ocean.dark, base16-eighties.dark, base16-mocha.dark, base16-ocean.light, InspiredGitHub, Solarized (dark), and Solarized (light)
|
||||
|
||||
resources:
|
||||
blog:
|
||||
|
|
|
@ -10,7 +10,7 @@ extra:
|
|||
|
||||
welcome to webdog, the static site generator fit for a dog :3
|
||||
|
||||
```
|
||||
```sh
|
||||
git clone https://zyllian/webdog
|
||||
cd webdog
|
||||
cargo install .
|
||||
|
|
|
@ -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