Share:
ClickHelp Documentation

Share Content Among Topics

In ClickHelp, you can re-use the existing content by including the content of one topic into another topic. It is extremely useful for such element like footers, headers, and disclaimer blocks. The elements that pull the contents from another topic are called Snippets.

In this context, there are two new notions to learn:
Target topic - this is the acceptor of the snippet content, the topic to which the content will be inserted;
Source topic - this is the original source of the content, the topic content from which will be inserted.

Inserting a snippet is simple:

  • While you are in the topic editing mode, position the text cursor at the point where you want to insert a snippet.
  • Switch to the Single-Sourcing toolbar, and click the edit box in the Snippets category.
  • Start typing the title of the source topic - the drop-down box will show the matching topics.
  • Select the topic you need, and click Insert Snippet .

In the editing mode, the snippet will have a limited height. But when you click Unlock & View to switch to the reading mode, the snippet content will be fully integrated into the target topic.

While you are creating content in your project, the link between the source and the target topics will be maintained. This means that any changes you make to the source topic will be reflected in all target topics. Once you publish your project to make it accessible to readers, the entire HTML code of the source topic will become a part of the target topic body - no link will exist between the topics in the final output (publication).