![]() YAML excels at working with mappings (hashes / dictionaries), sequences (arrays / lists), and scalars (strings / numbers). These rules make it possible for a single YAML file to be interpreted consistently, regardless of which application and/or library is being used to interpret it. There are some rules that YAML has in place to avoid issues related to ambiguity in relation to various languages and editing programs. One of the benefits of using YAML is that the information in a single YAML file can be easily translated to multiple language types.īasically, the data you enter in a YAML file is used in conjunction with a library to create the pages you see within Grav. At its core, a YAML file is used to describe data. YAML is built from the ground up to be simple to use. ![]() ![]() It essentially allows you to provide powerful configuration settings, without having to learn a more complex code type like CSS, JavaScript, and PHP. It is less complex and ungainly than XML or JSON, but provides similar capabilities. ![]() It’s basically a human-readable structured data format. YAML is to configuration what markdown is to markup. YAML stands for "YAML Ain't Markup Language" and it is used extensively in Grav for its configuration files, blueprints, and also in page settings.
0 Comments
Leave a Reply. |