This page is part of a static HTML representation of the TiddlyWiki at https://tiddlywiki.com/

makedatauri Macro

 30th March 2020 at 10:53am

The makedatauri macro takes a piece of text and an associated ContentType, and returns a corresponding data URI.

makedatauri is used to implement the datauri macro.

Parameters

text
The text to be converted to a data URI
type
The ContentType of the text
_canonical_uri
The optional _canonical_uri address of the content

Examples