Unit test styling
This commit is contained in:
parent
448908c18e
commit
e4e0349a32
3 changed files with 38 additions and 0 deletions
|
@ -11,6 +11,8 @@ sub show-html($html) is export {
|
|||
$out ~~ s:g/'</i>' \v+ '<span>'/<\/i><span>/;
|
||||
$out ~~ s:g/\v+ '</a>'/<\/a>/;
|
||||
$out ~~ s:g/\s+ ',' \s+ '<span'/, <span/;
|
||||
# Fixup unit test divs
|
||||
$out ~~ s:g/'<div class="unit-test">' \s* '<pre><code class="idris-code"> '/<div class="unit-test"><span><i class='bx bx-check-circle'><\/i>Unit Test<\/span><pre><code class="idris-code">/;
|
||||
$out
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue