# Read and Parse Markdown Content

Read and Parse Markdown Content on Evotec with installation guidance, setup notes, reference details, and project documentation.

Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

[View on GitHub](https://github.com/EvotecIT/OfficeIMO/tree/master/PowerShell/PSWriteOffice) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteOffice/releases/tag/v3.0.5) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteOffice)

Stars**750**

Forks**87**

Open issues**16**

PowerShell Gallery downloads**5611984**

Release**v3.6.2**

Language: C# Updated: 2026-11-30

Documentation

Read Markdown as a document model and extract front matter, headings, nodes, and tables without fragile regular expressions.

Markdown is simple text, but structure-aware parsing is safer than ad hoc regular expressions when documents contain front matter, nested blocks, callouts, tables, task lists, or several Markdown dialects.

## Inspect semantic structures

```powershell
$headings = Get-OfficeMarkdownHeading -Path '.\Article.md'
$frontMatter = Get-OfficeMarkdownFrontMatter -Path '.\Article.md'
$tables = Get-OfficeMarkdownTable -Path '.\Article.md' -AsObject
$nodes = Get-OfficeMarkdownNode -Path '.\Article.md' -MaxDepth 3
```

Reader profiles and URL restrictions make parsing behavior explicit. Use heading level, text, anchor, node type, and depth filters to return only the structures the workflow needs.

The [inspect-content recipe](https://github.com/EvotecIT/PSWriteOffice/blob/main/Examples/Markdown/Recipe-Markdown-InspectContent.ps1) creates a document with front matter and a table, then reads those structures with dedicated commands.

<!-- PowerForge markdown artifact sha256:1C44D154C298DEA0D1F099CD046A252BBFDA11F75F7E1DB2BAFBCF57B35FFC1E -->
