Never used it actually, is it in between LaTeX and Markdown with the possibility to process JSON input?
It's markdown-like (but definitely not exactly CommonMark, don't expect that), with # acting as escape into the world of layout and programming. Templates are just functions that return a datatype called a content block, and so on.