Curl Global Community
link and LinkElement - Printable Version

+- Curl Global Community (https://communities.curl.com)
+-- Forum: Blogs (https://communities.curl.com/forumdisplay.php?fid=17)
+--- Forum: Tech blog (https://communities.curl.com/forumdisplay.php?fid=18)
+---- Forum: Robert blog (https://communities.curl.com/forumdisplay.php?fid=20)
+---- Thread: link and LinkElement (/showthread.php?tid=628)



link and LinkElement - RobertShiplett - 09-15-2012

In the Contents section of my Japanese-English dictionary, I did not want the kanji characters which serve as links to be underlined. The docs do not mention how to do this with the {link } text format, but the class LinkElement offers an option which you can pass into the text format just as you pass in the href - and that option is link-underline?. In my case, I pass the option as follows :

{link link-underline? = false, href = {url "#some-character"} some-character}

The alternative would be a style rule.