Escaping Export Code (and HTML) in Note $Text


(Brian Crane) #1

I’m exporting notes to HTML and have working templates. BUT I’ve just realized that any of my notes that contain examples of export code (e.g. ^children^) or HTML (e.g. <em>) export as if these examples are instances of code/markup.

How to I tell TBX that these strings are just text?


(Mark Anderson) #2

If you want ^children^ to render as ^children^ as opposed to the export evaluation of the code you need to escape the carets that indicate an export command. This is done by doubling the caret symbol. Thus:

^children use ^^children

^children^ use ^^children^^