mirror of
https://github.com/wezm/wezm.net.git
synced 2024-11-10 01:42:32 +00:00
Add language tags to code blocks
This commit is contained in:
parent
7b24b7d3c2
commit
1dc3ede6be
2 changed files with 75 additions and 1 deletions
|
@ -408,7 +408,7 @@ Enter `systemd-sysusers`. Now the `chrony` package includes a file
|
||||||
`sysusers.conf`, which is installed into `/usr/lib/sysusers.d/chrony.conf` when the package
|
`sysusers.conf`, which is installed into `/usr/lib/sysusers.d/chrony.conf` when the package
|
||||||
is installed:
|
is installed:
|
||||||
|
|
||||||
```tcl
|
```
|
||||||
# Create chrony system user
|
# Create chrony system user
|
||||||
|
|
||||||
u _chrony - "chrony user" /var/lib/chrony /usr/bin/nologin
|
u _chrony - "chrony user" /var/lib/chrony /usr/bin/nologin
|
||||||
|
|
|
@ -43,6 +43,80 @@ pre {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: #fcfcfc;
|
color: #fcfcfc;
|
||||||
max-height: 800px;
|
max-height: 800px;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.language-asm::after,
|
||||||
|
.language-bash::after,
|
||||||
|
.language-c::after,
|
||||||
|
.language-css::after,
|
||||||
|
.language-dockerfile::after,
|
||||||
|
.language-gleam::after,
|
||||||
|
.language-ini::after,
|
||||||
|
.language-javascript::after,
|
||||||
|
.language-json::after,
|
||||||
|
.language-rust::after,
|
||||||
|
.language-sh::after,
|
||||||
|
.language-tcl::after,
|
||||||
|
.language-toml::after,
|
||||||
|
.language-vim::after,
|
||||||
|
.language-xml::after,
|
||||||
|
.language-yaml::after
|
||||||
|
{
|
||||||
|
position: absolute;
|
||||||
|
top: 0px;
|
||||||
|
right: 0px;
|
||||||
|
color: black;
|
||||||
|
background-color: #FFFA;
|
||||||
|
padding: 0 0.5em 1px 0.5em;
|
||||||
|
border-bottom-left-radius: 8px;
|
||||||
|
}
|
||||||
|
.language-asm::after {
|
||||||
|
content: 'Assembly';
|
||||||
|
}
|
||||||
|
.language-bash::after {
|
||||||
|
content: 'Bash';
|
||||||
|
}
|
||||||
|
.language-c::after {
|
||||||
|
content: 'C';
|
||||||
|
}
|
||||||
|
.language-css::after {
|
||||||
|
content: 'CSS';
|
||||||
|
}
|
||||||
|
.language-dockerfile::after {
|
||||||
|
content: 'Dockerfile';
|
||||||
|
}
|
||||||
|
.language-gleam::after {
|
||||||
|
content: 'Gleam';
|
||||||
|
}
|
||||||
|
.language-ini::after {
|
||||||
|
content: 'INI';
|
||||||
|
}
|
||||||
|
.language-javascript::after {
|
||||||
|
content: 'JavaScript';
|
||||||
|
}
|
||||||
|
.language-json::after {
|
||||||
|
content: 'JSON';
|
||||||
|
}
|
||||||
|
.language-rust::after {
|
||||||
|
content: 'Rust';
|
||||||
|
}
|
||||||
|
.language-sh::after {
|
||||||
|
content: 'Shell';
|
||||||
|
}
|
||||||
|
.language-tcl::after {
|
||||||
|
content: 'Tcl';
|
||||||
|
}
|
||||||
|
.language-toml::after {
|
||||||
|
content: 'TOML';
|
||||||
|
}
|
||||||
|
.language-vim::after {
|
||||||
|
content: 'Vim';
|
||||||
|
}
|
||||||
|
.language-xml::after {
|
||||||
|
content: 'XML';
|
||||||
|
}
|
||||||
|
.language-yaml::after {
|
||||||
|
content: 'YAML';
|
||||||
}
|
}
|
||||||
h1,h2,h3,h4 {
|
h1,h2,h3,h4 {
|
||||||
font-family: $heading-family;
|
font-family: $heading-family;
|
||||||
|
|
Loading…
Reference in a new issue