Test Code Block Copy

<div class="sr-only">queryraw

To try it out, click any inline code snippet above or the code block below to copy the exact source text to your clipboard:

-- This is a code block example
greet :: String -> IO ()
greet name = putStrLn ("Hello, " ++ name ++ "!")

The PDF version does not include the JavaScript copy hook, but it also does not need one: the text in the PDF is directly selectable.

The functionality does not apply to sr-only text for the same reason. However, if you navigate to the very end of the plain text with a screen reader, you may eventually reach the SVG object and interact with the copy links inside.

Edited on 2026-04-16