add support for rst formatting