Parse hyperlinks

A parser library written with Nom to recognize hyperlinks in Markdown or RestructuredText formatted text input.

Cargo Documentation License

This library comes with a simple command-line application that illustrates how to use the library. Installation:

bash cargo install parse-hyperlinks

Usage example:

bash $ cat input.txt abc [my blog](https://getreu.net "blog title")abc abc`my blog <https://getreu.net>`_abc .. _my blog: https://get reu.net $ $ ./parse-hyperlinks <input.txt >ouput.html $ $ cat ouput.html <a href="https://getreu.net" title="blog title">my blog</a><br/> <a href="https://getreu.net" title="blog title">my blog</a><br/> <a href="https://getreu.net" title="">my blog</a><br/> <a href="https://getreu.net" title="">my blog</a><br/> $