This is so cool!
Do variables work {frontmatter.value * 2}?
// Example JavaScript const x = 7; function returnSeven() { return x; }