Skip to content
Snippets Groups Projects
Commit f5ff8674 authored by Martin Schroschk's avatar Martin Schroschk
Browse files

Insert graphics showing line numbering in code blocks

parent b8170215
No related branches found
No related tags found
3 merge requests!322Merge preview into main,!319Merge preview into main,!187Syntax highlighting
......@@ -429,15 +429,7 @@ srun a.out
_Result_:
```bash linenums="1"
#!/bin/bash
#SBATCH -N 1
#SBATCH -n 23
#SBATCH -t 02:10:00
srun a.out
```
![lines](misc/lines.png)
Specific Lines can be highlighted by using
......@@ -455,16 +447,7 @@ 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
```
![lines](misc/highlight_lines.png)
### Data Privacy and Generic User Name
......
doc.zih.tu-dresden.de/misc/highlight_lines.png

8.6 KiB

doc.zih.tu-dresden.de/misc/lines.png

9.71 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment