Skip to content

Commit 581bc5b

Browse files
committed
probably fix hljs rendering??
1 parent 9ef9899 commit 581bc5b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,4 +138,6 @@ if (changelog)
138138
})
139139
)
140140

141-
hljs.highlightAll()
141+
// okay since it's not rendering sometimes let's just make it wait a bit...
142+
await new Promise((r) => setTimeout(r, 500))
143+
.then(() => hljs.highlightAll())

0 commit comments

Comments
 (0)