File tree 2 files changed +7
-5
lines changed
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ PART=${3:-1}
6
6
7
7
cd ~ /aoc/$YEAR /day$DAY
8
8
9
+ set -o pipefail
10
+ while true ; do
9
11
cat puzzle.html \
10
12
| pup -p -i 0 --pre article \
11
13
| html-minifier --collapse-whitespace \
@@ -14,4 +16,6 @@ cat puzzle.html \
14
16
| sed ' s/\([(]\) `/\1`/g' \
15
17
| sed ' s/* \([.,:;!?)]\)/*\1/g' \
16
18
| sed ' s/\([(]\) \*/\1*/g' \
17
- | glow -p -s ../../misc/glow.json
19
+ | glow -p -s ../../misc/glow.json \
20
+ || exit
21
+ done
Original file line number Diff line number Diff line change 24
24
"crossed_out" : true
25
25
},
26
26
"emph" : {
27
- "background_color " : " #1f2335 " ,
28
- "color " : " #bb9af7 "
27
+ "color " : " #e0af68 " ,
28
+ "italic " : true
29
29
},
30
30
"strong" : {
31
31
"color" : " #a9b1d6" ,
63
63
},
64
64
"code" : {
65
65
"background_color" : " #1f2335" ,
66
- "prefix" : " " ,
67
- "suffix" : " " ,
68
66
"color" : " #9ece6a"
69
67
},
70
68
"code_block" : {
You can’t perform that action at this time.
0 commit comments