Articles on: Create, Edit & Delete Text File

Add YAML

What is YAML?



YAML is a data-oriented structure that allows users to create custom file properties using key-value pairs. YAML can only be added in the following extensions:

.txt
.md
.markdown

YAML Interface



YAML editor in web app

In order to create a file property, you will first need to enter and select the following information:

Key



A unique identifier for a value.

Type



The type of value to be set for a particular key. The following are the types of values that are supported:

String: Allows you to enter any character in the Value field.
Number: Allows you to only enter numerical values in the Value field.
Array: Allows you to enter an ordered list of values.
Object: Allows you to enter a list of values with unique identifiers.
Boolean: Allows you to only select 'True' or 'False' in the Value field.
Null: Allows you to only select 'Null' in the Value field.

Value



Values such as letters, numbers, 'Yes/No' and 'Null' can be input.

Please refer to the YAML documentation for more information.

Add YAML



Android



In the editor, tap on > YAML Editor.
Input the YAML code in the code editor.
Tap on the Done button to save the changes.

iOS



In the editor, tap on > YAML Editor.
Input the YAML code in the code editor.
Tap on the Done button to save the changes.

This feature is available in v14.0.0.

Mac



In the menu, click on File > YAML Editor.
Input the YAML code in the code editor.
Tap on the Done button to save the changes.

Web



YAML Editor button in the editor screen

An example of how the YAML looks like in a Markdown or Text document in code view

In the editor, click on the YAML Editor button, which is located next to the "Publish" button.
Input the YAML code in the code editor.
Click on the OK button to save the changes.

To view the YAML code, click on the </> icon in the Editor screen.

Updated on: 01/07/2022

Was this article helpful?

Share your feedback

Cancel

Thank you!