markdown :: LinkRef :: defaultinit
# A Link Reference.
# Links that are specified somewhere in the mardown document to be reused as shortcuts.
#
# ~~~raw
# [1]: http://example.com/ "Optional title"
# ~~~
class LinkRef
# Link href
var link: String
# Optional link title
var title: nullable String = null
# Is the link an abreviation?
var is_abbrev = false
# Create a link with a title.
init with_title(link: String, title: nullable String) do
init(link)
self.title = title
end
end
lib/markdown/markdown.nit:613,1--635,3