.pink {
color: pink;
}
Everything starts with wrapping a codeblock with .codewindow
fenced div. So
becomes
THe file name can be specified by writing the name as plain text inside the codewindow
div. So
becomes
Adding a css class to the .codewindow
div will add icon if supported. so
becomes
script.R
script.py
script.js
script.jl
script.sh
index.qmd
index.html
styles.css
styles.sass
main.nf
The width
argument is natively supported, so the width can be set like so:
becomes
These divs should work like any other divs. So you can pass in other styles with styles=""
and use absolute position
See next slide for examples