loading table of contents...

Headless Server Developer Manual / Version 2310

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.

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

      #!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

Your Internet Explorer is no longer supported.

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