
#let stdTemplate(doc) = [
  #set text(
    size: 8pt
  )

  #set page(
    margin: 5mm
  )

  #doc
]

#let hlMath(content, color: rgb("#fffe69")) = box(
  content,
  outset: 2pt,
  fill: color,
) 

#let hlRed = rgb("#ff6969");
#let hlGreen = rgb("#76ff69");

#let hlHeading(content, color: rgb("#ff69fd")) = box(
  content,
  outset: 2pt,
  fill: color,
) 

#let stdBlock(content) = {
  block(
    stroke: 0.2mm,
    spacing: 1mm,
    inset: 2mm,
    content
  )
}

#let MathAlignLeft(e) = {
  align(left, block(e))
}

/* Usage examples:
#blockm("Hello", top: 10pt, bottom: 10pt)
#blockm(#p("Paragraph inside a margin-set block."), left: 12pt, right: 12pt)
*/