Skip to content
Permalink
Browse files

doc fixes

  • Loading branch information
ralsina committed Jun 5, 2016
1 parent d63fb52 commit 9ea1f691740535fa6a085caa17a02c1d00bd4134
Showing with 3 additions and 3 deletions.
  1. +3 −3 docs/manual.txt
@@ -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

0 comments on commit 9ea1f69

Please sign in to comment.
You can’t perform that action at this time.