Copyright | (c) 2019-2021 Kowainik |
---|---|
License | MPL-2.0 |
Maintainer | Kowainik <xrom.xkov@gmail.com> |
Safe Haskell | None |
Language | Haskell2010 |
This module implements parser of the shortcut links that are introduced in the [shortcut-links](https:/hackage.haskell.orgpackage/shortcut-links) package.
The markdown example of the shortcut link:
[This project](@github(Kowainik):hakyll-shortcut-links)
The implemented parser should parse the url
part of the link.
In this example the parsed links would look like this:
>>>
parseShortcut "@github(Kowainik):hakyll-shortcut-links"
Right ("github", Just "Kowainik", Just "hakyll-shortcut-links")