CitableImage.linkedMarkdownImageMethod

Compose markdown wrapping IIIF URL for image linked to an image citation tool installation.

linkedMarkdownImage(img, cdsettings)

Arguments

  • img URN string
  • cdsettings CiteDown.Settings
CiteDown.pagepartsMethod

Split 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.rewriteMethod

Rewrite 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.settingsMethod

Create document settings object from a string source.

settings(src)
CiteDown.urlizeMethod

Convert URNs in markdown image references to URL values.

urlize(md, cdsettings)