Small and simple markdown preprocessor for creating table of contents