Cmdlet Reference

Reference documentation for the PowerShell cmdlets in the Documentarian module.

The Documentarian module includes commands for inspecting, editing, and maintaining Markdown documents.

Documentarian Cmdlets

Convert-MDLinks

Converts Markdown hyperlinks to numbered link references.

Get-ContentWithoutHeader

Gets the content of a Markdown file without the YAML frontmatter.

Get-Document

Parses a document as Markdown and returns it as a usable object.

Get-DocumentLink

Retrieves links from a Markdown document with their metadata.

Get-Metadata

Get the metadata frontmatter from a Markdown file.

Get-YamlBlock

Gets the YAML frontmatter from a Markdown file.

Remove-Metadata

Removes metadata key-value pairs from the YAML frontmatter of a Markdown file.

Set-Metadata

Overwrites the metadata frontmatter in a Markdown file.

Update-Metadata

Updates or adds metadata to a Markdown file.