Fork me on GitHub

Pelican features

This post is meant to test various features of Pelican, including code blocks and other types of formatting.

Testing a code block:

import csv

print "some stuff"

class Dict(dict):
    """A dict where keys can be accessed as attributes"""
    def __init__(self, *args, **kwargs):
        super(Dict, self).__init__(*args, **kwargs) # or super().__init__ in py3
        self.__dict__ = self

dict = Dict

d = dict(a=4,b=3)

d.c = 8
d.d = 5
d.e = dict()
d.e.a = 9

print d


And how to set it up:

rm bob.txt
cp a b/


Don't forget the other things!

  • First thing
  • Second thing
  • Third thing

What about ordered lists?

  1. First thing
  2. Second thing
  3. Third thing
  4. Fourth thing.