From 5e55301cc2c91a5f0e99000bfe4d7ec262ee78c1 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Fri, 8 Sep 2023 15:08:39 -0700 Subject: Refactor package.json --- content/overview-code-blocks.md | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'content/overview-code-blocks.md') diff --git a/content/overview-code-blocks.md b/content/overview-code-blocks.md index af1d406..ce40a10 100644 --- a/content/overview-code-blocks.md +++ b/content/overview-code-blocks.md @@ -23,7 +23,7 @@ See [the docs](https://www.getzola.org/documentation/content/syntax-highlighting If we want, we can also `specify inline code` which is useful for `the small stuff`. -### rust +### Rust ```rust fn main() { let greetings = ["Hello", "Hola", "Bonjour", @@ -66,6 +66,16 @@ fn main() { } ``` +### Bash +```bash +#!/bin/bash +for d in /sys/kernel/iommu_groups/*/devices/*; do + n=${d#*/iommu_groups/*}; n=${n%%/*} + printf 'IOMMU Group %s ' "$n" + lspci -nns "${d##*/}" +done +``` + ### TOML ```toml,linenos,hl_lines=3 base_url = "https://abridge.netlify.app/" @@ -83,7 +93,7 @@ taxonomies = [ ] ``` -### html +### HTML ```html @@ -130,7 +140,7 @@ $font-mono: ui-monospace Menlo Monaco Consolas "SF Mono" "Cascadia Mono" "Segoe } ``` -### javascript +### Javascript ```javascript function closeSearch() {//close the search displaying the regular page. const e = document.querySelector("main"); @@ -149,7 +159,7 @@ function goSearch() {// on enter key or search icon click display results to the } ``` -### php +### PHP ```php