Skip to content

Commit 6c0dcb5

Browse files
authored
Try use blockquotes instead of pre
1 parent ee0ee0c commit 6c0dcb5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,19 +183,19 @@ jobs:
183183
| sed -E \
184184
-e 's/\r//g' \
185185
-e 's/\^\[\[[0-9;]*[a-zA-Z]//g' \
186-
-e 's/^##\[group\](.*)/<details><summary>\1<\/summary><pre>/g' \
187-
-e 's/^##\[endgroup\]/<\/pre><\/details>/g' \
186+
-e 's/^##\[group\](.*)/<details><summary>\1<\/summary>/g' \
187+
-e 's/^##\[endgroup\]/<\/details>/g' \
188188
-e 's/^##\[warning\](.*)/> [!WARNING]\n> \1/g' \
189189
| awk -v sha="$run_sha" -v site="${{ matrix.site }}" '
190190
/^File: / {
191191
file_path = $2
192-
print "File: [" file_path "](https://github.com/originlab/" site "/blob/" sha "/" file_path ")"
192+
print "> File: [" file_path "](https://github.com/originlab/" site "/blob/" sha "/" file_path ")"
193193
next
194194
}
195195
/^[[:space:]]+Ln [0-9]+,/ {
196196
match($0, /Ln [0-9]+/)
197197
line_num = substr($0, RSTART + 3, RLENGTH - 3)
198-
print "\t[Ln " line_num ", " substr($0, index($0, "Col")) "](https://github.com/originlab/" site "/blob/" sha "/" file_path "#L" line_num ")"
198+
print ">> [Ln " line_num ", " substr($0, index($0, "Col")) "](https://github.com/originlab/" site "/blob/" sha "/" file_path "#L" line_num ")"
199199
next
200200
}
201201
{ print }

0 commit comments

Comments
 (0)