This alternative view for the Text pane shows the current note's data as marked up for HTML Export. Although 'HTML' is described, this method of export can be adapted for use with other favours of markup.
Different colours represent different sources:
- Blue: text, i.e. $Text via ^text^.
- Red: includes of children's data.
- Blue-green: includes of data from other notes, e.g. via ^include()^.
- Grey: code from (export) template.
- Black: anything else.
For some bespoke mark-up tasks it is not necessary to do a full page export; simply swap in the desired export template and select/copy the code from the HTML tab.
The code in this view is rendered in $HTMLFont at $HTMLFontSize. These attribute can be set by invoking the OS Fonts dialog via the view's context menu and setting the font typeface and/or size.
If the document currently has no HTML template set, this sub-tab will show the Template pop-up menu to allow selection of an export template to use (assuming one or more templates are defined in the document).
The Export tab displays the selected note's $HTMLPreviewCommand, if it has one. A checkbox allows temporarily disablement of the preview command and Markdown processing. This makes it possible also to see the exported content as it is before it is post-processed by the preview command. The toggle is only used within the view, i.e. viewing the export code 'live', and thus has no background setting fro the tick-box.
See also—notes linking to here: