OfficeIMO

API Reference

Class

MarkdownTranscriptPreparation

Namespace OfficeIMO.Markdown
Assembly OfficeIMO.Markdown
Modifiers static

Explicit transcript-preparation helpers for hosts ingesting or exporting IntelligenceX-style markdown.

Inheritance

  • Object
  • MarkdownTranscriptPreparation

Examples


var prepared = MarkdownTranscriptPreparation.PrepareIntelligenceXTranscriptBody(markdown);
var document = MarkdownTranscriptPreparation.PrepareIntelligenceXTranscriptDocument(markdown);
var exportReady = MarkdownTranscriptPreparation.PrepareIntelligenceXTranscriptForExport(markdown);
var docxReady = MarkdownTranscriptPreparation.PrepareIntelligenceXTranscriptForDocx(
    markdown,
    preservesGroupedDefinitionLikeParagraphs: true);

        

Use these helpers when the host explicitly wants the IntelligenceX transcript contract. Generic markdown ingestion should stay on

profiles and document transforms instead.

Methods

public static Void ApplyIntelligenceXTranscriptReaderContract(MarkdownReaderOptions options, Boolean preservesGroupedDefinitionLikeParagraphs = true, Nullable<MarkdownVisualFenceLanguageMode> visualFenceLanguageMode = null) #
Returns: Void

Applies the explicit IX transcript reader contract to an existing reader configuration in place. This preserves the caller's security/profile toggles while layering in transcript normalization and optional AST transforms.

Parameters

options OfficeIMO.Markdown.MarkdownReaderOptions requiredposition: 0
preservesGroupedDefinitionLikeParagraphs System.Boolean = true optionalposition: 1
visualFenceLanguageMode System.Nullable{OfficeIMO.Markdown.MarkdownVisualFenceLanguageMode} = null optionalposition: 2
public static MarkdownReaderOptions CreateIntelligenceXTranscriptReaderOptions(MarkdownDialectProfile readerProfile = OfficeIMO, Boolean preservesGroupedDefinitionLikeParagraphs = true, Nullable<MarkdownVisualFenceLanguageMode> visualFenceLanguageMode = null) #
Returns: MarkdownReaderOptions

Creates reader options for the explicit IX transcript ingestion contract.

Parameters

readerProfile OfficeIMO.Markdown.MarkdownReaderOptions.MarkdownDialectProfile = OfficeIMO optionalposition: 0
Reader profile to compose on top of.
preservesGroupedDefinitionLikeParagraphs System.Boolean = true optionalposition: 1
Whether grouped simple Label: value lines should remain parsed as definition lists. When false, a document transform expands simple grouped entries back into paragraphs.
visualFenceLanguageMode System.Nullable{OfficeIMO.Markdown.MarkdownVisualFenceLanguageMode} = null optionalposition: 2
Optional legacy JSON visual-fence upgrade mode to compose into the transcript reader contract. When supplied, plain JSON code blocks can be upgraded into semantic visual fenced blocks during document transforms.

Returns

Configured reader options for transcript parsing.

public static String PrepareIntelligenceXTranscriptBody(String markdown) #
Returns: String

Applies the shared IX transcript body preparation contract.

Parameters

markdown System.String requiredposition: 0
Transcript markdown source.

Returns

Normalized transcript body markdown.

public static MarkdownDoc PrepareIntelligenceXTranscriptDocument(String markdown, MarkdownDialectProfile readerProfile = OfficeIMO, Nullable<MarkdownVisualFenceLanguageMode> visualFenceLanguageMode = null) #
Returns: MarkdownDoc

Parses transcript markdown into an AST using the explicit IX transcript contract.

Parameters

markdown System.String requiredposition: 0
Transcript markdown source.
readerProfile OfficeIMO.Markdown.MarkdownReaderOptions.MarkdownDialectProfile = OfficeIMO optionalposition: 1
Reader profile to compose on top of.
visualFenceLanguageMode System.Nullable{OfficeIMO.Markdown.MarkdownVisualFenceLanguageMode} = null optionalposition: 2
Optional legacy JSON visual-fence upgrade mode to apply while preparing the transcript document.

Returns

Prepared transcript document.

public static MarkdownDoc PrepareIntelligenceXTranscriptDocumentForDocx(String markdown, Boolean preservesGroupedDefinitionLikeParagraphs, MarkdownDialectProfile readerProfile = OfficeIMO, Nullable<MarkdownVisualFenceLanguageMode> visualFenceLanguageMode = null) #
Returns: MarkdownDoc

Parses transcript markdown for DOCX/export-oriented hosts using the explicit IX transcript contract.

Parameters

markdown System.String requiredposition: 0
Transcript markdown source.
preservesGroupedDefinitionLikeParagraphs System.Boolean requiredposition: 1
Whether grouped simple definition-like lines should remain definition lists.
readerProfile OfficeIMO.Markdown.MarkdownReaderOptions.MarkdownDialectProfile = OfficeIMO optionalposition: 2
Reader profile to compose on top of.
visualFenceLanguageMode System.Nullable{OfficeIMO.Markdown.MarkdownVisualFenceLanguageMode} = null optionalposition: 3
Optional legacy JSON visual-fence upgrade mode to apply while preparing the transcript document.

Returns

Prepared transcript document.

public static String PrepareIntelligenceXTranscriptForDocx(String markdown, Boolean preservesGroupedDefinitionLikeParagraphs) #
Returns: String

Applies the shared IX transcript DOCX-preparation contract.

Parameters

markdown System.String requiredposition: 0
Transcript markdown source.
preservesGroupedDefinitionLikeParagraphs System.Boolean requiredposition: 1
Whether the host renderer preserves grouped definition-like lines without compatibility repair.

Returns

DOCX-prepared transcript markdown.

PrepareIntelligenceXTranscriptForExport 2 overloads
public static String PrepareIntelligenceXTranscriptForExport(String markdown, MarkdownVisualFenceLanguageMode visualFenceLanguageMode) #
Returns: String

Applies the shared IX transcript export-preparation contract after any host-specific transport markers have already been stripped.

Parameters

markdown System.String requiredposition: 0
Transcript markdown source after host-specific marker cleanup.
visualFenceLanguageMode OfficeIMO.Markdown.MarkdownVisualFenceLanguageMode requiredposition: 1
Target fence-language mode for upgraded legacy JSON visual payloads. Use IntelligenceXAliasFence for compatibility-first IX exports or GenericSemanticFence for portable generic markdown exports.

Returns

Export-prepared transcript markdown.

public static String PrepareIntelligenceXTranscriptForExport(String markdown) #
Returns: String

Applies the shared IX transcript export-preparation contract after any host-specific transport markers have already been stripped.

Parameters

markdown System.String requiredposition: 0
Transcript markdown source after host-specific marker cleanup.

Returns

Export-prepared transcript markdown using legacy IX alias fence languages.