Put before/after hashes in toc