Testing post
Source code snippets
Hugo <code>
wrapper.
#!/bin/zsh
while ([[ -z $(ip a | grep tun0) ]]); do
echo "Waiting for tun0 interface ..."
sleep 1
done
echo "Interface tun0 found!"
echo "Setting up new routes"
sudo ip r del default dev tun0
sudo ip r add 126.0.0.0/8 dev tun0
sudo ip r add 10.0.0.0/8 dev tun0
pre {
background: #1a1a1d;
padding: 20px;
border-radius: 8px;
font-size: 1rem;
overflow: auto;
@media (--phone) {
white-space: pre-wrap;
word-wrap: break-word;
}
code {
background: none !important;
color: #ccc;
padding: 0;
font-size: inherit;
}
}
And now classic MD code wrapper:
NAPIS="napis"
echo $NAPIS
Integration with FontAwesome
New partial font_awesome
for adding glyphs:
{{< font_awesome style="fas" glyph="fa-compact-disc" >}}
And effect: