MarkdownUtil is a collection of Per scripts that can manipulate markdown files.
All scripts require Perl 5 (not Perl 6), the minimum Perl version is Perl 5.8.
Apache License, Version 2.0
This tool is deprecated and not maintained. Please use the Python tool markdown-toc
Adds table of contents to Github flavored Markdown files.
Features
- Use
<a>
anchor tag as the TOC target. It doesn't depend on Github auto anchor feature. - Can selectively generate TOC for lengthy article with enough headings. (The
--min-headings
option) - Repeating the command on the same file will replace the previous TOC instead of adding more TOC.
- Code blocks can be handled correctly, the code lines start with '#' won't be treated as headings.
Converts Dokuwiki page files to Github flavored Markdown files.
Features
- Support basic heading and format syntax.
- Support URL link syntax.
- Support image syntax.
- Customizable.
Even though the scripts are quite simple, here are some work you can contribute.
- Convert the Perl scripts to Python and PHP.
- Add more functions to the scripts.