From: Zbigniew Jędrzejewski-Szmek Date: Tue, 20 Dec 2022 13:35:08 +0000 (+0100) Subject: docs: use better highlighter for command examples X-Git-Tag: v15~234^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90b66a9d7553b5c82e09047a9f74e7de7ecc995a;p=thirdparty%2Fmkosi.git docs: use better highlighter for command examples --- diff --git a/mkosi.md b/mkosi.md index 739177b36..115854a17 100644 --- a/mkosi.md +++ b/mkosi.md @@ -1275,13 +1275,13 @@ variables: Create and run a raw *GPT* image with *ext4*, as `image.raw`: -```bash +```console # mkosi -p systemd --incremental boot ``` Create and run a bootable *GPT* image, as `foobar.raw`: -```bash +```console # mkosi -d fedora -p kernel -p systemd -p udev -o foobar.raw # mkosi --output foobar.raw boot # mkosi --output foobar.raw qemu @@ -1289,14 +1289,14 @@ Create and run a bootable *GPT* image, as `foobar.raw`: Create and run a *Fedora Linux* image into a plain directory: -```bash +```console # mkosi --distribution fedora --format directory boot ``` Create a compressed image `image.raw.xz` and add a checksum file, and install *SSH* into it: -```bash +```console # mkosi --distribution fedora --format disk --checksum --compress-output --package=openssh-clients ``` @@ -1305,7 +1305,7 @@ Inside the source directory of an `automake`-based project, configure an OS image containing a built version of the project in its current state: -```bash +```console # cat >mkosi.conf <