I’m not familiar with the package tidy, but I do want to use it to make some code example like:
Followed with the instructions, I use code:
#let docs = tidy.parse-module(read("/example/page_style.typ"))
#tidy.show-module(docs, style: tidy.styles.default)
and in another file page_style.typ
, the content is
/// #example(`text(size: .9em)[example]`)
But nothing shows in my main document.
Is there anything wrong with my code? I would really be appreciated if anybody gives me advice on how to make code example.