Commit 955abfb
authored
Hide 'Copy to clipboard' on non-code blocks and improvements to
* [QOL] Hide 'Copy To Clipboard' button on non-code blocks
Sitewide there are multiple code blocks that do not contain
any code in them. But still a `Copy code to clipboard` button
is shown, this patch addresses this issue. It is a QOL improvement
that makes distinguishing code blocks visually easier.
To use this new feature, we need to start our code block like:
```{ .language_name .no-copy }
...
...
...
```
Where language_name is something that can vary (console in our case mostly).
The .no-copy attribute is what disables the function on that particular block.
Signed-off-by: black-dragon74 <niryadav@redhat.com>
* [getting-started] Multiple improvements and cleaner syntax
This is a first of many patches that'll follow for subsequent sections sitewide
which moves OLD md syntax to NEW one and also address any other semantics that come
into notice.
Signed-off-by: black-dragon74 <niryadav@redhat.com>
* Properly annotate code blocks
Signed-off-by: black-dragon74 <niryadav@redhat.com>
* Fix code formatter errors
Signed-off-by: black-dragon74 <niryadav@redhat.com>Getting Started section (#732)1 parent 6e3d704 commit 955abfb
File tree
5 files changed
+199
-160
lines changed- docs
- Administrator-Guide
- Quick-Start-Guide
- css
5 files changed
+199
-160
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
18 | 16 | | |
19 | 17 | | |
20 | 18 | | |
21 | | - | |
22 | | - | |
23 | 19 | | |
24 | 20 | | |
25 | 21 | | |
26 | | - | |
27 | | - | |
28 | 22 | | |
29 | 23 | | |
30 | 24 | | |
| |||
0 commit comments