diff options
author | defanor <defanor@uberspace.net> | 2017-10-28 07:59:31 +0300 |
---|---|---|
committer | defanor <defanor@uberspace.net> | 2017-10-28 07:59:31 +0300 |
commit | 60790b4368518134a14166fcad535f96d05c7765 (patch) | |
tree | 344d22853f8d439ff773ede754e928125b4a19ea /Pancake.hs | |
parent | 619015bbe0dc2596e92ba6897d844b5324452aaa (diff) |
Change fragment link colors
So that they are distinguishable from active links.
Diffstat (limited to 'Pancake.hs')
-rw-r--r-- | Pancake.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -299,7 +299,7 @@ readInline (P.Link _ alt (url, title)) = case uri of -- fragment links are mostly useless here, at least for now. -- but still marking them as links, to avoid confusion. - (URI "" Nothing "" "" _) -> pure $ map (Fg Blue) t + (URI "" Nothing "" "" _) -> pure $ map (Fg Magenta) t _ -> storeLink uri >>= \cnt -> pure $ map (Fg Cyan) t ++ [Fg Blue (mconcat ["[", fromString $ show cnt, "]"])] |