Skip to content

Commit ec581d7

Browse files
authored
oops, comrak change broke site again... bigger things eternally otw
1 parent ba02ad1 commit ec581d7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎gen.sh‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ $(
7070
--extension alerts,autolink,description-lists,footnotes,greentext,math-code,math-dollars,multiline-block-quotes,spoiler,strikethrough,subscript,superscript,table,tasklist,underline,wikilinks-title-before-pipe \
7171
${md} \
7272
| sed -z -E '
73+
s@(<h[1-6][^>]*>)([^<]*)(<a[^<]*</a>)@\1\3\2@g
7374
s@(<p>)?((<img[^>]*>[[:space:]]*){2,})(</p>)?@<div gallery>\2</div>@g
7475
s@(<p>)?<img([^>]*)>(</p>)?@<figure><img width=300\2></figure>@g
7576
s@<img([^>]*)title="([^"]+)"([^>]*)>@<img\1title="\2"\3><figcaption>\2</figcaption>@g

0 commit comments

Comments
 (0)