Skip to content

Commit b671a8f

Browse files
committed
docs: compression_format: Fix tags
Fixes tags for pygments Signed-off-by: Jamie McCrae <[email protected]>
1 parent 8b7c7cc commit b671a8f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/compression_format.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Compression parameters have the following default values:
3535

3636
You can calculate the `dict_size` using the following method:
3737

38-
``` {.c}
38+
```c
3939
unsigned int i = 0;
4040

4141
for (i = 0; i < 40; i++) {
@@ -103,14 +103,14 @@ The second byte of the `lzma2_header` carries the following parameters:
103103

104104
These parameters are encoded with the following formula:
105105

106-
``` {.c}
106+
```c
107107
pb_lp_lc = (uint8_t)((pb * 5 + lp) * 9 + lc);
108108
```
109109

110110
To decode these values from the combined `pb_lp_lc` byte, run the
111111
following code:
112112

113-
``` {.c}
113+
```c
114114
lc = pb_lp_lc % 9;
115115
pb_lp_lc /= 9;
116116
pb = pb_lp_lc / 5;
@@ -132,13 +132,13 @@ steps:
132132

133133
- Without an ARM thumb filter:
134134

135-
``` {.bash}
135+
```bash
136136
unlzma --lzma2 --format=raw --suffix=.lzma raw.lzma
137137
```
138138

139139
- With an ARM thumb filter:
140140

141-
``` {.bash}
141+
```bash
142142
unlzma --armthumb --lzma2 --format=raw --suffix=.lzma raw.lzma
143143
```
144144

0 commit comments

Comments
 (0)