X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=Rakka%2FWiki.hs;h=f8341ec8506d6069e4a152d4db50371b5bcaee1b;hb=b3c3f333cd48bc74eb33f0f21d56a9d1bc65e0ea;hp=96231a46c72174bc33c7df3733e8c9457e230b09;hpb=dcfffa578c5dd6647a5be7d2074488a520dfcf2d;p=Rakka.git diff --git a/Rakka/Wiki.hs b/Rakka/Wiki.hs index 96231a4..f8341ec 100644 --- a/Rakka/Wiki.hs +++ b/Rakka/Wiki.hs @@ -17,6 +17,7 @@ module Rakka.Wiki where import Data.Generics +import Network.URI import Rakka.Page @@ -47,6 +48,10 @@ data InlineElement , linkFragment :: !(Maybe String) , linkText :: !(Maybe String) } + | ExternalLink { + extLinkURI :: !URI + , extLinkText :: !(Maybe String) + } | LineBreak ![Attribute] | Span ![Attribute] ![InlineElement] | Image ![Attribute]