#' Get the with of the terminal window in pixels
#'
#' @return
#' An integer with the number of pixels the terminal is wide.
#'
#' @export
kitty_width <- function() {
kitty_dim()[1] |> as.vector()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.