From 46ccf2d0a3dc8f651ad5b49703e70d9dc983ab7b Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Mon, 1 Aug 2016 00:08:44 +0800 Subject: Update docs for customize slides and new YAML metadata --- public/docs/yaml-metadata.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'public/docs/yaml-metadata.md') diff --git a/public/docs/yaml-metadata.md b/public/docs/yaml-metadata.md index 4a235686..d22fccda 100644 --- a/public/docs/yaml-metadata.md +++ b/public/docs/yaml-metadata.md @@ -105,3 +105,30 @@ You can only use whether `true` or `false`. ```xml breaks: false ``` + +GA +--- +This option allow you to enable Google Analytics with your ID. + +> default: not set (which won't enable) + +**Example** +```xml +GA: UA-12345667-8 +``` + +slideOptions +--- +This option allow you provide custom options to slide mode. +Please below document for more details: +https://github.com/hakimel/reveal.js/#configuration + +**Notice: always use two spaces as indention in YAML metadata!** + +> default: not set (which use default slide options) + +**Example** +```xml +slideOptions: + transition: fade +``` \ No newline at end of file -- cgit v1.2.3