Changes
Title
unchanged
Help pages using Markdown view renderer
Category
unchanged
Tutorials
Yii version
unchanged
Tags
unchanged
view renderer, markdown
Content
changed
[...]
'url' => array('/site/help', 'view'=>'sales'),
```
# Generating PDF
Markdown files can be converted to PDF using [pandoc](http://johnmacfarlane.net/pandoc/), a swiss-army knife written in Haskell for converting documents between various formats. It uses calls Latex internally, so it must also be available on your system.
Assuming all images in the .md files start with /images we need to add a proper relative path for pandoc to find those files. So let's prepend ../../.. to them using sed:
~~~
TMPDIR=/tmp[...]