Table of Contents

Property EmbedImagesAsDataUris

Namespace
DocWright.Formats.Markdown
Assembly
DocWright.Formats.Markdown.dll

EmbedImagesAsDataUris

Gets or sets a value indicating whether an image is written as a data URI. False by default, in which case an image becomes a reference to a file name the caller is expected to write beside the document — and the bytes are reported as not emitted.

public bool EmbedImagesAsDataUris { get; set; }

Property Value

bool

Remarks

False is the default because a base64 data URI of a photograph produces a Markdown file no editor can open comfortably, and because Markdown's whole value is being readable as text. A caller who needs one self-contained file sets this to true.