Aleksandra Fedorova :fedora: on Nostr: In both #markdown and #asciidoc we have a possibility to create a nicely highlighted ...
In both #markdown and #asciidoc we have a possibility to create a nicely highlighted code block:
``` python
def test(input=zero):
pass
```
I don't write code snippets though. Usually i write:
```
1. Install the app:
# dnf install app
output
1. Run the app:
$ app --version
output
```
And here # means root and $ means user.
Can someone more capable than me introduce the new style like:
```cli
```
with a proper highlight for such cases?
``` python
def test(input=zero):
pass
```
I don't write code snippets though. Usually i write:
```
1. Install the app:
# dnf install app
output
1. Run the app:
$ app --version
output
```
And here # means root and $ means user.
Can someone more capable than me introduce the new style like:
```cli
```
with a proper highlight for such cases?