From wikinotes

ReStructured Text is a human readable text format that renders out to HTML, PDF, and a variety of other formats. It was created as a part of the python docutils project.


this should be split into pages separating tools from syntax

Documentation Cheat Sheet official documentation


I'll be really brief here, the official documentation is fantastic.


Headers are defined by an unindented string, underlined by the same number of characters. Subtitles, are the same. The characters used to specify an underline do not

My Page Title

level 2 title

level 3 title

level 2 title again

Bold, Italic

* italic text *
** bold  text **


- list item
- list item 2
  - sublist item

- a single newline indicates a new list

1) enumerated list

2) enumerated list 2

#) variable num


.. image:: /path/to/image.jpg

Named Links

A sentence with links to Wikipedia_ and the `Linux kernel archive`_.

.. _Wikipedia:
.. _Linux kernel archive:

Code Blocks


	this is a litteral codeblock without any syntax
.. code-block:: python

   def something():
      some doctag
      return var


=================  =====
**module  desc**   stuff
=================  =====
lkjasdmodule       delkjadssc
module  desc       test something
=================  =====


.. this is a comment

Exporting to PDF

Unfortunately, this is not a straightforward process, but it is simple enough

## if you have a soft background-color, you'll want to change
## it back to white (in the css, or html file)
sudo pacman -S wkhtmltopdf
sudo pip install rst2html

rst2html --stylesheet=$python/libhtml/CSS/pers_rst.css resume.rst resume.html

wkhtmltopdf --page-size Letter \
            -T 10mm -B 10mm    \
            resume.html resume.pdf
## if you are experiencing issues with pixellated fonts,
## it is likely that you are either
##    a) not using a true-type font
##    b) your true type font is not being found, and a differnet font is being used in it's place
## See solution here:
#### /etc/fonts/conf.avail/70-no-bitmaps.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- Reject bitmap fonts -->
     <patelt name="scalable"><bool>false</bool></patelt>
ln -s /etc/fonts/conf.avail/70-no-bitmaps.conf /etc/fonts/conf.d/70-no-bitmaps.conf