close

Filter

loading table of contents...

Headless Server Developer Manual / Version 2210

Table Of Contents

5.1.1 The Include Directive

A directive to include the contents of a supporting YAML file. Used to provide reusable definitions in a separate file. CoreMedia provides a set of include files reflecting the CoreMedia Rich Text Markup. They contain the used tags and CSS classes.

      Syntax:
      #!import file=<relative-path-to-include-file>/<name-of-include-file>

      Example:
      #!import file=includes/elements.yml
    

As best practice, always include these standard includes! Note, that all following example code snippets do rely on these includes!

      #!import file=includes/elements.yml
      #!import file=includes/classes.yml
      #!import file=includes/attributes.yml
    

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.