diff options
| author | Jieiku | 2023-09-08 15:08:39 -0700 |
|---|---|---|
| committer | Jieiku | 2023-09-08 15:08:39 -0700 |
| commit | 5e55301cc2c91a5f0e99000bfe4d7ec262ee78c1 (patch) | |
| tree | d034c24a0debdb22066c659fa67ab5564227acdd /content/overview-code-blocks.fr.md | |
| parent | 288de9dac39869ac94d0265351f5884a78dce5a8 (diff) | |
| download | abridge-5e55301cc2c91a5f0e99000bfe4d7ec262ee78c1.tar.gz abridge-5e55301cc2c91a5f0e99000bfe4d7ec262ee78c1.tar.bz2 abridge-5e55301cc2c91a5f0e99000bfe4d7ec262ee78c1.zip | |
Refactor package.json2.2.0
Diffstat (limited to 'content/overview-code-blocks.fr.md')
| -rw-r--r-- | content/overview-code-blocks.fr.md | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/content/overview-code-blocks.fr.md b/content/overview-code-blocks.fr.md index bc0462e..0209daa 100644 --- a/content/overview-code-blocks.fr.md +++ b/content/overview-code-blocks.fr.md @@ -23,7 +23,7 @@ Voir [les docs](https://www.getzola.org/documentation/content/syntax-highlightin Si nous voulons, nous pouvons aussi `spécifier le code en ligne` ce qui est utile pour `les petites choses`. -### 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 <!doctype html> <html lang="en"> @@ -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 <?php /** @@ -174,7 +184,7 @@ $_SESSION['PFA_token'] = md5(uniqid("pfa" . rand(), true)); ``` -### json +### Json ```json { "name": "Abridge Zola Theme", |
