Headless Server Developer Manual / Version 2404
Table Of ContentsA 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