This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
Tip: To use Highlight.js instead of Prettify, just configure the Markdown Extra extension in the Settings dialog.
from codecs importopen from collections import defaultdict from functools import partial from itertools import chain, groupby from operator import attrgetter, itemgetter
for arg, value in kwargs.items(): setattr(self, arg, value)
defget_template(self, name): """Return the template by name. Use self.theme to get the templates to use, and return a list of templates ready to use with Jinja2. """ if name notin self._templates: try: self._templates[name] = self.env.get_template(name + '.html') except TemplateNotFound: raise Exception('[templates] unable to load %s.html from %s' % (name, self._templates_path)) return self._templates[name]