Add titles and use literal strings in example docstrings.