From 6be4d19843d665cb1e3c5f3ec21841be2bdf1716 Mon Sep 17 00:00:00 2001 From: Sandor Semsey Date: Sat, 2 Mar 2024 17:56:25 +0100 Subject: [PATCH] docs: add syntax highlighting to code blocks --- docs/bin.md | 10 +++++----- docs/install.md | 6 +++--- docs/lib/_loader.md | 4 ++-- docs/lib/error.md | 2 +- docs/lib/text.md | 2 +- docs/lib/ui.md | 4 ++-- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/bin.md b/docs/bin.md index 997ca40..1bde272 100644 --- a/docs/bin.md +++ b/docs/bin.md @@ -76,7 +76,7 @@ For parameter formats check said section in the script (Bash syntax). An example params file: -``` +```bash # Let's have bit longer tests test_run_time_quick=20 # Run only one deep memory benchmark @@ -203,15 +203,15 @@ After signing they can be loaded with `modprobe`. For this you need a MOK key and certificate and it needs to be enrolled in EFI: 1. Generate MOK key - ``` + ```bash openssl genpkey -algorithm rsa -out MOK_KEY ``` 1. Create MOK certificate - ``` + ```bash openssl req -new -x509 -key MOK_KEY -outform DER -out MOK_CERT ``` 1. Enroll MOK certificate - ``` + ```bash mokutil --import MOK_CERT ``` 1. Reboot and perform enrolling @@ -248,7 +248,7 @@ Useful if you need to send a string to some application, but it can receive that Example: -``` +```bash export ECHO_WRAP=password export SSH_ASKPASS=/path/to/wrecho ssh-add SSH_KEY