LaCava Research Wiki

Initiated September 2017

makedatauri Macro

21st February 2015 at 5:34pm

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

Examples