You are here: More Information > Special Tasks
Special Tasks
Technical Reference
> Documenting without Editor > Formatting Comments > Text Formatting > Including External Files and HTML Code
Close
Doc-O-Matic 10
Including External Files and HTML Code

In Doc-O-Matic there are two ways to show external code or information in your topics: the <emit> or <literal/> and the <include> or <use/> tag. 

Use the include (use) tag to include plain text files or documentation snippets in a topic. This way you can change included information externally or reuse it in multiple topics.

Note: The include tag is processed at the very beginning of the topic processing steps.
Use the emit (literal) tag, to emit arbitrary native HTML code directly into your HTML output. With this feature you can insert Flash movies and other HTML code in your topic.
Note: You need to escape backslashes (not slashes) and your < and > characters in your emit tag.

For more details about how to change the topic ID of included files, see How can I give text files another topic ID?

Copyright © 2000-2020 toolsfactory software inc. All rights reserved.