Skip to content

Instantly share code, notes, and snippets.

@julienbourdeau
Last active September 11, 2015 22:28
Show Gist options
  • Save julienbourdeau/98a944e00c3ceb5dff5e to your computer and use it in GitHub Desktop.
Save julienbourdeau/98a944e00c3ceb5dff5e to your computer and use it in GitHub Desktop.
Demo article for build.prestashop.com
layout title subtitle date author icon tags published
post
Title goes here
And here is a subtitle
2015-12-31 07:00:00 -0800
julienbourdeau
fa-pencil
random
tag
example
false

Write your article using Markdown syntax !

If you are wondering how to use Mardown, refer to this page: http://kramdown.gettalong.org/quickref.html

This is an H2 title

In this text I can use strong text and this is italic text

Add an h3 title

  • Explain
  • Things
  • With
  • Bullet
  • Points
  1. Or
  2. Even
  3. With
  4. Ordered
  5. List

Other tricks

{% highlight php startinline=true %} public function init() { parent::init(); if (!Tools::getIsset('step') && $this->context->customer->isLogged() && !$this->ajax) Tools::redirect('index.php?controller='.(($this->authRedirection !== false) ? urlencode($this->authRedirection) : 'my-account')); if (Tools::getValue('create_account')) $this->create_account = true; } {% endhighlight %}

{% gist julienbourdeau/f449a8b3b3205dd72a42 %}

{% alert important %} This is an important notice. Alerts can be note|info|tip|important {% endalert %}

Add a simple table

Header1 Header2 Header3
cell1 cell2 cell3
cell4 cell5 cell6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment