graphical output in code blocks

This commit is contained in:
りき萌 2024-02-18 00:29:58 +01:00
parent 565b6a0520
commit 51de33c2b5
13 changed files with 351 additions and 57 deletions

View file

@ -567,6 +567,21 @@ th-literate-program[data-mode="output"] {
}
}
th-literate-program[data-mode="graphics"] {
padding: 0;
background: none;
& iframe {
border-style: none;
border-radius: 4px;
}
/* The inner iframe is hidden until something requests display. */
& iframe.hidden {
display: none;
}
}
/* Syntax highlighting */
:root {