Fragments

Fragments let you reuse content within a catalog. When you update a fragment, the changes appear in every article that uses it.

  • A fragment is stored as a separate file in the repository.

  • The fragment card shows which articles use it.

  • When deleting a fragment, Gramax shows which articles it will be removed from.

Add a Fragment

There are two ways to add a new fragment:

  • In the catalog menu, click ToolsFragments.

  • In the editing panel, click the fragment icon Fragments and select Add.

Fill in the fragment content and publish the changes. After that, the fragment can be used in articles.

A link to a fragment can be added to selected text in an article.

Hovering over such a link shows a preview of the fragment content, from which you can navigate to edit it. This format is useful for terms and short definitions.