From 884e91354a89e1d978622f2c3b14297a3bf897fc Mon Sep 17 00:00:00 2001 From: Marcin Kulik Date: Sat, 9 Aug 2014 13:40:44 +0200 Subject: [PATCH] Update embedding docs --- app/views/docs/embedding.html.slim | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/app/views/docs/embedding.html.slim b/app/views/docs/embedding.html.slim index f7f8b85..6913704 100644 --- a/app/views/docs/embedding.html.slim +++ b/app/views/docs/embedding.html.slim @@ -35,8 +35,8 @@ markdown: The `speed` option alters the playback speed. The default speed is 1 which means it plays at the unaltered, original speed. - For example, to make the playback 2 times faster than original recording the - script should look like this: + For example, to make the playback 2 times faster than original use the + following script: @@ -49,10 +49,24 @@ markdown: * medium * big - For example, to make the font big the script should look like this: + For example, to make the font big use the following script: + ### theme + + The `theme` option allows overriding a theme used for the terminal. + It defaults to a theme set by the asciicast author (or to "tango" if not set + by the author). There are 3 available themes: + + * tango + * solarized-dark + * solarized-light + + For example, to use Solarized Dark theme use the following script: + + + ### autoplay The `autoplay` option allows for automatic playback start when the player @@ -61,7 +75,7 @@ markdown: * 0 / false - do not start playback automatically (default) * 1 / true - start playback automatically - For example, to make the asciicast auto play: + For example, to make the asciicast auto play use the following script: @@ -73,6 +87,6 @@ markdown: * 0 / false - disable looping (default) * 1 / true - enable looping - For example, to make the asciicast play infinitely: + For example, to make the asciicast play infinitely use the following script: