Tiew Kee Hui's Blog

Post Formatting in Long Haul

December 15, 2016 | 1 Minute Read

This post explores the variety of styles and formatting available in Long Haul and Jekyll.

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6
Aenean lacinia bibendum nulla sed consectetur. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras mattis consectetur purus sit amet fermentum. Nulla vitae elit libero, a pharetra augue. Curabitur blandit tempus porttitor. Donec sed odio dui. Cras mattis consectetur purus sit amet fermentum.

Nullam quis risus eget urna mollis ornare vel eu leo. Cras mattis consectetur purus sit amet fermentum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.

Unordered List

  • List Item
  • Longer List Item
    • Nested List Item
    • Nested Item
  • List Item

Ordered List

  1. List Item
  2. Longer List Item
    1. Nested OL Item
    2. Another Nested Item
  3. List Item

Definition List

Coffee
Black hot drink
Milk
White cold drink

Figure with Caption

Fig1. - This is an example figcaption

Code snippet

Jekyll also offers powerful support for code snippets:

def print_hi(name)
  puts "Hi, #{name}"
end
print_hi('Tom')
#=> prints 'Hi, Tom' to STDOUT.