Preview
Opening a topic in the Preview mode shows how a topic will be displayed when it is viewed by a user in their browser. In case of a DITA map, a preview of the map is shown wherein a single composite document of all topics within the map is shown.
The Preview mode gives you the following functionalities:
View content based on conditional filters
If you have used conditions in your topic or map, those conditions are shown in the Filters panel. By default, all conditions are selected and the entire content is displayed. If you deselect a condition, then the content having that condition is removed from the view. You can also choose to highlight conditionalized content.
The following image shows a topic that uses two conditions — Audience
and Product
. The conditionalized content is highlighted with yellow background.
View the track changes markups
If a document contains track changes markups (or visual cues), then you can also preview the document with or without those markups. While previewing a document, the right panel contains the Filters and Tracking options.
There are three Tracking options that you can choose from:
-
No Markup: In this view, all insertions and deletions are accepted, and a simple view of the document is presented. In this view, you do not view any track changes markups.
-
Original: In this view, all insertions are rejected and all deletions are restored back, and then a preview is shown. Simply, you get the original form of the document before you enabled the track changes mode.
-
Show Markup: In this view, you get all markups for inserted and deleted content.
The following image shows the preview of a map file with markups: