Checkpoint draft
This commit is contained in:
parent
63ca0df679
commit
1553ec320b
7 changed files with 228 additions and 2 deletions
|
@ -81,7 +81,7 @@ sub katla(*@args --> Str:D) {
|
|||
unless $katla;
|
||||
# Modify the output to use our styling instead of katla's
|
||||
# Remove the style block and line breaks
|
||||
$katla-out ~~ s:g/'<style>' .* '</style>'//;
|
||||
$katla-out ~~ s:g/'<style>' <-[ < ]>* '</style>'//;
|
||||
$katla-out ~~ s:g/'<br />'//;
|
||||
# Use <pre> blocks for the code and inject our own class for idris code
|
||||
$katla-out ~~ s:g/'<code class="' \w+ '">' \s*/<pre><code class="idris-code">/;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue