Skip to content

Commit

Permalink
doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed Jun 5, 2016
1 parent d63fb52 commit 9ea1f69
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/manual.txt
Expand Up @@ -849,20 +849,20 @@ post-list
media
Display media embedded from a URL, for example, this will embed a youtube video::

{{% media url="https://www.youtube.com/watch?v=Nck6BZga7TQ" %}}
{{% raw %}}{{% media url="https://www.youtube.com/watch?v=Nck6BZga7TQ" %}}{{% /raw %}}


chart
Create charts via PyGal. This is similar to the `chart directive <#chart>`__ except the syntax is adapted to
shortcodes. This is an example::

{{% chart Bar title='Browser usage evolution (in %)' %}}
{{% raw %}}{{% chart Bar title='Browser usage evolution (in %)' %}}
x_labels='["2002","2003","2004","2005","2006","2007","2008","2009","2010","2011","2012"]'%}}
'Firefox', [None, None, 0, 16.6, 25, 31]
'Chrome', [None, None, None, None, None, None]
'IE', [85.8, 84.6, 84.7, 74.5, 66, 58.6]
'Others', [14.2, 15.4, 15.3, 8.9, 9, 10.4]
{{% /chart %}}
{{% /chart %}}{{% /raw %}}

raw
Passes the content along, mostly used so I can write this damn section and you can see the shortcodes instead
Expand Down

0 comments on commit 9ea1f69

Please sign in to comment.