DITA Custom Content

Custom content is a pre-defined content portion (template) that can be inserted into your document through an associated button or a hot key.

You can insert custom content by means of:

  1. Custom Content toolbar.



  2. Edit > Custom Content menu.

  3. Hot keys.

    Note:

    To see the list of available custom content and associated hot-keys for the current document, click the Edit Custom Content button on the toolbar.

    Figure 1. Edit Custom Content Dialog.



You can use DITA custom content to quickly insert the most common DITA content portions. DITA custom content differs from Docbook custom content.

In DITA topics, you can insert the following pre-defined custom content templates:
  1. Set Bold

    Inserts <b>.

  2. Set Underline

    Inserts <u>.

  3. Set Italic

    Inserts <i>.

  4. Insert Graphic

    Asks you to browse for a file and inserts inline <image>, or <title>+ <image>, depending on the cursor position.

  5. Insert Enumerated List Item

    Inserts <ol>+ <li>, or just <li>, depending on the cursor position.

  6. Insert Itemized List Item

    Insets <ul>+ <li>, or just <li>, depending on the cursor position.

  7. Insert Para

    Inserts <p>.

  8. Insert Note

    Inserts <note>.

  9. Insert Section

    Inserts <section>.

  10. Insert Step (in tasks only)

    Inserts <step>.

  11. Insert Info (in tasks only)

    Inserts <info>.

  12. Insert Task (in tasks and composites only)

    Inserts <task>.

  13. Insert Concept (in concepts and composites only)

    Inserts <concept>.

  14. Insert Topic (in generic topics and composites only)

    Inserts <topic>.

  15. Insert Reference (in references and composites only)

    Inserts <reference>.

Related concepts
References in DITA Documents
DITA ID Management
Images in DITA Documents
Deprecated Content in DITA Documents
Related information
Custom Content Customization