blog/content/blog/test.md
2024-10-17 11:54:36 +02:00

697 B

+++ title = "test" draft = false insert_anchor_links = "left" tags = [ "typst" ] render = true

[extra]

poor = true

+++

Code block tests

#cetz.canvas({
  import cetz.draw: *
  import cetz.plot
  plot.plot(size: (4, 4), x-tick-step: 2, y-tick-step: 40, 
    {
      plot.add(domain: (-4, 4),
        x => (x,  calc.pow(x, 4) ),
        label: $f(x)=x^4$
      )
    })
})
  • create/fix copy button
    Fix I had to activate show_copy_button = true in my config.toml
    STRG + C & STRG + V saved my day again (along some STRG + F of course!)

Typst renders