YAMLs

Back to Index

What is YAML

YAML is a short declaration at the top of your CommonMark document written in the format:

---
property1: value1
property2: value2
property3: value3
...

For example:

---
title: My Note
date:  2017-08-05
style: indigo
...

All available YAMLs

YAMLMeaning
appbar:blueSets a material color for the application bar
code:noneDo not highlight codeblocks
date:2016-11-20  vShow this date at the top
Font: file:///storage/ ... /HelveticaNeue Light.ttfSetting a font for the view mode
heading:autonumberAutonumbering headings from level 2
heading:totopTapping on a heading scrolls the page to top
prerender:|
regex1
replacement1
regex2
replacement2
Preprocessing in a document
mathjax: onforce MathJax on
mathjax: offforce MathJax off
style:blackForce black style
style:dayForce day style
style:nightForce night style
style:whiteForce white style
style:userForce user style
style:nostyleTurn off any style in the document. You can provide an inline style then.
style:file.css vUse the file.css from the current directory
style:http://../style.cssUse style from Internet
style:file:///../style.cssSpecify absolute link to the style
template: pathUse a template for html export.
title:some_name vGenerate title. Can be turned off via Preferences
toc:some_name vGenerate Table of contents
toc-style:inlinePlace ToC in one centered line
uses:abcTurn on ABC Music Notation plugin. See help for advanced users.

v: The value is arbitrary

Back to Index