From c58a885b9c59f7eeea2b35db76fbcf654ec081ef Mon Sep 17 00:00:00 2001 From: Martin Schroschk <martin.schroschk@tu-dresden.de> Date: Thu, 22 Jul 2021 08:37:06 +0200 Subject: [PATCH] Highlight markdown --- doc.zih.tu-dresden.de/README.md | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/doc.zih.tu-dresden.de/README.md b/doc.zih.tu-dresden.de/README.md index 4c87fa1d9..68840115b 100644 --- a/doc.zih.tu-dresden.de/README.md +++ b/doc.zih.tu-dresden.de/README.md @@ -415,6 +415,7 @@ Use the following short codes within this project for consistency: Line numbers can be added via +```` markdown ```bash linenums="1" #!/bin/bash @@ -424,9 +425,23 @@ Line numbers can be added via srun a.out ``` +```` -and specific Lines can be highlighted by using +_Result_: +```bash linenums="1" +#!/bin/bash + +#SBATCH -N 1 +#SBATCH -n 23 +#SBATCH -t 02:10:00 + +srun a.out +``` + +Specific Lines can be highlighted by using + +```` markdown ```bash hl_lines="2 3" #!/bin/bash @@ -436,7 +451,19 @@ and specific Lines can be highlighted by using srun a.out ``` +```` + +_Result_: + +```bash hll_lines="2 3" +#!/bin/bash + +#SBATCH -N 1 +#SBATCH -n 23 +#SBATCH -t 02:10:00 +srun a.out +``` ### Data Privacy and Generic User Name -- GitLab