MarkdownTranscriptPreparation
OfficeIMO.Markdown
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(MarkdownLoadOptions options, bool preservesGroupedDefinitionLikeParagraphs = true, MarkdownVisualFenceLanguageMode? visualFenceLanguageMode = null) #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.MarkdownLoadOptions
- preservesGroupedDefinitionLikeParagraphs bool = true
- visualFenceLanguageMode OfficeIMO.Markdown.MarkdownVisualFenceLanguageMode? = null
public static MarkdownLoadOptions CreateIntelligenceXTranscriptReaderOptions(MarkdownDialectProfile readerProfile = OfficeIMO, bool preservesGroupedDefinitionLikeParagraphs = true, MarkdownVisualFenceLanguageMode? visualFenceLanguageMode = null) #Creates reader options for the explicit IX transcript ingestion contract.
Parameters
- readerProfile OfficeIMO.Markdown.MarkdownLoadOptions.MarkdownDialectProfile = OfficeIMO
- Reader profile to compose on top of.
- preservesGroupedDefinitionLikeParagraphs bool = true
- 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 OfficeIMO.Markdown.MarkdownVisualFenceLanguageMode? = null
- 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.
public static string PrepareIntelligenceXTranscriptBody(string? markdown) #Applies the shared IX transcript body preparation contract.
Parameters
- markdown string?
- Transcript markdown source.
Returns
string Normalized transcript body markdown.public static MarkdownDocument PrepareIntelligenceXTranscriptDocument(string? markdown, MarkdownDialectProfile readerProfile = OfficeIMO, MarkdownVisualFenceLanguageMode? visualFenceLanguageMode = null) #Parses transcript markdown into an AST using the explicit IX transcript contract.
Parameters
- markdown string?
- Transcript markdown source.
- readerProfile OfficeIMO.Markdown.MarkdownLoadOptions.MarkdownDialectProfile = OfficeIMO
- Reader profile to compose on top of.
- visualFenceLanguageMode OfficeIMO.Markdown.MarkdownVisualFenceLanguageMode? = null
- Optional legacy JSON visual-fence upgrade mode to apply while preparing the transcript document.
public static MarkdownDocument PrepareIntelligenceXTranscriptDocumentForDocx(string? markdown, bool preservesGroupedDefinitionLikeParagraphs, MarkdownDialectProfile readerProfile = OfficeIMO, MarkdownVisualFenceLanguageMode? visualFenceLanguageMode = null) #Parses transcript markdown for DOCX/export-oriented hosts using the explicit IX transcript contract.
Parameters
- markdown string?
- Transcript markdown source.
- preservesGroupedDefinitionLikeParagraphs bool
- Whether grouped simple definition-like lines should remain definition lists.
- readerProfile OfficeIMO.Markdown.MarkdownLoadOptions.MarkdownDialectProfile = OfficeIMO
- Reader profile to compose on top of.
- visualFenceLanguageMode OfficeIMO.Markdown.MarkdownVisualFenceLanguageMode? = null
- Optional legacy JSON visual-fence upgrade mode to apply while preparing the transcript document.
public static string PrepareIntelligenceXTranscriptForDocx(string? markdown, bool preservesGroupedDefinitionLikeParagraphs) #Applies the shared IX transcript DOCX-preparation contract.
Parameters
- markdown string?
- Transcript markdown source.
- preservesGroupedDefinitionLikeParagraphs bool
- Whether the host renderer preserves grouped definition-like lines without compatibility repair.
Returns
string DOCX-prepared transcript markdown.public static string PrepareIntelligenceXTranscriptForExport(string? markdown, MarkdownVisualFenceLanguageMode visualFenceLanguageMode) #Applies the shared IX transcript export-preparation contract after any host-specific transport markers have already been stripped.
Parameters
- markdown string?
- Transcript markdown source after host-specific marker cleanup.
- visualFenceLanguageMode OfficeIMO.Markdown.MarkdownVisualFenceLanguageMode
- Target fence-language mode for upgraded legacy JSON visual payloads. Use MarkdownVisualFenceLanguageMode.IntelligenceXAliasFence for compatibility-first IX exports or MarkdownVisualFenceLanguageMode.GenericSemanticFence for portable generic markdown exports.
Returns
string Export-prepared transcript markdown.public static string PrepareIntelligenceXTranscriptForExport(string? markdown) #Applies the shared IX transcript export-preparation contract after any host-specific transport markers have already been stripped.
Parameters
- markdown string?
- Transcript markdown source after host-specific marker cleanup.
Returns
string Export-prepared transcript markdown using legacy IX alias fence languages.