evCreate API 5.7 Help

EvParsedMarkdown Interface

The EvParsedMarkdown TS interface specifies a blueprint of a JS object that maps a plain text with the corresponding native Envision document text formatting derived from the original Markdown formatting removed from this text.

Properties

An EvParsedMarkdown object has the following properties:

plainText: string;

A string, a plain text stripped of the original Markdown formatting.

styles: EvMarkdownStyle[];

An array of EvMarkdownStyle objects, where each object describes:

  • A specific range of characters in the plain text.

  • A native Envision text formatting that is:

    • Derived from the original Markdown formatting removed from this range of characters.

    • Applied to this range of characters.

Examples

TS

{ plainText: "CanvasGFX", styles: [ { hyperlinkURL: "canvasgfx.com", span: { at: 0, count: 9 }, style: { bold: false, color: { data: { color: "#B3282E" }, id: 42, type: EvFillType.Color }, italic: true, name: "roboto", shadow: false, size: 24, strikethrough: false, underline: true } } ] }

JS

{ plainText: "CanvasGFX", styles: [ { hyperlinkURL: "canvasgfx.com", span: { at: 0, count: 9 }, style: { bold: false, color: { data: { color: "#B3282E" }, id: 42, type: "color" }, italic: true, name: "roboto", shadow: false, size: 24, strikethrough: false, underline: true } } ] }
25 April 2025