Companion

Functions

Link copied to clipboard
fun injectLinksInto(book: Book, pageHref: String, xhtml: String): String

Returns xhtml with a <link rel="stylesheet" .../> injected for every entry in book's Book.stylesheets list that isn't already linked, with each href made relative to pageHref (the path of the XHTML page being rendered).