Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
quarto-dev
GitHub Repository: quarto-dev/quarto-cli
Path: blob/main/tests/docs/playwright/html/code-highlight/_body.md
3563 views

Light and Dark Mode Testing

This document can be viewed in both light mode and dark mode to test code highlighting in both color schemes.

function divide_floats(x::Float64, y::Float64) return x / y end

And here the inline version function divide_floats(x::Float64, y::Float64){.julia}.

::: {.callout-note} The tests will automatically check the highlighting in both light and dark modes using Playwright's color scheme testing capabilities. :::