Add preformatted option or input ```
, click on the </> button and select the coding language. To use minted, add renderAs=minted
in the metadata field. Print using template to export the document in PDF format. You should see your code formatted in minted style.