From 2aa5a83686880e947a6614a42f93550d96b1f87f Mon Sep 17 00:00:00 2001 From: Jieiku Date: Sun, 2 Feb 2025 21:30:23 -0800 Subject: Add and Update Translations --- content/overview-code-blocks.fr.md | 39 ++++++++++++++++++++++++++------------ 1 file changed, 27 insertions(+), 12 deletions(-) (limited to 'content/overview-code-blocks.fr.md') diff --git a/content/overview-code-blocks.fr.md b/content/overview-code-blocks.fr.md index 0a40e4e..1263d05 100644 --- a/content/overview-code-blocks.fr.md +++ b/content/overview-code-blocks.fr.md @@ -30,6 +30,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 fn main() { let greetings = ["Hello", "Hola", "Bonjour", @@ -72,21 +73,12 @@ 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/" title = "Abridge" -description = "Abridge est un thème Zola rapide et léger utilisant le HTML sémantique, le CSS abridge.css class-light et aucun JS obligatoire." +description = "Abridge is a fast and lightweight Zola theme using semantic html, abridge.css class-light CSS, and No Mandatory JS." default_language = "en" #theme = "abridge" @@ -99,7 +91,19 @@ taxonomies = [ ] ``` +### Bash + +```bash,hl_lines=5 +#!/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 +``` + ### HTML + ```html @@ -115,6 +119,7 @@ taxonomies = [ ``` ### CSS + ```css html { font-size: var(--fs); @@ -126,6 +131,7 @@ html { ``` ### SCSS + ```scss $font: Roboto system-ui -apple-system BlinkMacSystemFont "Segoe UI" Oxygen Ubuntu Cantarell "Fira Sans" "Droid Sans" "Helvetica Neue" "Noto Sans" Helvetica Arial sans-serif !default; @@ -147,6 +153,7 @@ $font-mono: ui-monospace Menlo Monaco Consolas "SF Mono" "Cascadia Mono" "Segoe ``` ### Javascript + ```javascript function closeSearch() {//close the search displaying the regular page. const e = document.querySelector("main"); @@ -166,6 +173,7 @@ function goSearch() {// on enter key or search icon click display results to the ``` ### PHP + ```php int main() { @@ -286,6 +297,7 @@ int main() { ``` ### C++ + ```cpp // Your First C++ Program @@ -301,6 +313,7 @@ int main() { ``` ### Go + ```go package main @@ -314,6 +327,7 @@ func main() { ``` ### Python + ```python #!/usr/bin/env python3 import smtplib, socket @@ -369,6 +383,7 @@ while True: ``` ### Ruby + ```ruby =begin Ruby program to check whether the -- cgit v1.3.1