"Pillar syntax cheat sheet" by BenjaminVanRyseghem on at pillarhub/pillarcheatsheet under #tutorial   1 thanks

Pillar syntax cheat sheet

A simple Pillar syntax cheat sheet.

1. Headers

!Header 1
!!Header 2
!!!Header 3
!!!!Header 4
!!!!!Header 5
!!!!!!Header 6

2. Lists

- Unordered List
# Ordered list 

3. Table

|! Left |! Right |! Centered
|{Left |}Right| Centered

Render:

Left Right Centered
Left Right Centered

4. Description

Note

on a new line

;head
:item

5. Emphasis

""bold""
''italic''
--strikethrough--
__underscore__
==inline code==
@@subscript@@
^^sub-script^^

6. Code blocks

 [[[lab­el=­hel­loS­cri­pt|­cap­tio­n=How to print Hello  World|­lan­gua­ge=­Sma­lltalk
 Transcript show: 'Hello World'. 
 \]]]

7. Raw


{{{latex:
this is how you inject raw \LaTeX in your output file 
}}}

{{{mar­kdown:
this is how you inject raw `markdown` in your output file 
}}}

{{{html:
this is how you inject raw <b>­htm­l</­b> in your output file 
}}}

8. Links

Anchor @anchor (new line)
Internal link *anchor*
External link *Google>http://google.com*
Image +Caption>file://image.png|width=50|label=label+

9. Annotation

Note

on a new line

Annotation @@note this is a note
Todo item @@todo this is to do

10. Comments

% each line starting with % is commented

11. References

This document is copied from http://www.cheatography.com/benjaminvanryseghem/cheat-sheets/pillar/

blog comments powered by Disqus