CiteDown.Settings
— TypeSettings for interpreting URNs in markdown.
CitableImage.linkedMarkdownImage
— MethodCompose markdown wrapping IIIF URL for image linked to an image citation tool installation.
linkedMarkdownImage(img, cdsettings)
Arguments
img
URN stringcdsettings
CiteDown.Settings
CiteDown.null_settings
— MethodInitialize a Settings
instance with empty values.
null_settings()
CiteDown.pageparts
— MethodSplit markdown file into YAML header and markdown body. Returns a tuple of 2 strings. If there is no YAML header, the first string will be empty.
pageparts(f)
CiteDown.rewrite
— MethodRewrite contents of file f with URNs replaced by URLs if they are configured for citable services in the file's YAML header.
rewrite(f)
CiteDown.settings
— MethodCreate document settings object from a string source.
settings(src)
CiteDown.urlize
— MethodConvert URNs in markdown image references to URL values.
urlize(md, cdsettings)