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

Highlight markdown

parent 52e0a02a
No related branches found
No related tags found
3 merge requests!322Merge preview into main,!319Merge preview into main,!187Syntax highlighting
...@@ -415,6 +415,7 @@ Use the following short codes within this project for consistency: ...@@ -415,6 +415,7 @@ Use the following short codes within this project for consistency:
Line numbers can be added via Line numbers can be added via
```` markdown
```bash linenums="1" ```bash linenums="1"
#!/bin/bash #!/bin/bash
...@@ -424,9 +425,23 @@ Line numbers can be added via ...@@ -424,9 +425,23 @@ Line numbers can be added via
srun a.out 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" ```bash hl_lines="2 3"
#!/bin/bash #!/bin/bash
...@@ -436,7 +451,19 @@ and specific Lines can be highlighted by using ...@@ -436,7 +451,19 @@ and specific Lines can be highlighted by using
srun a.out 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 ### Data Privacy and Generic User Name
......
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