graphical output in code blocks
This commit is contained in:
parent
565b6a0520
commit
51de33c2b5
13 changed files with 351 additions and 57 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue