# ConvertFrom-OfficeAsciiDocMarkdown

Converts Markdown to native AsciiDoc with fidelity diagnostics.

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/0.2.0)

Stars **727**

Forks **84**

Open issues **7**

Total downloads **5,275,783**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-24

Cmdlet 

**Module**

`PSWriteOffice`

**Inputs**

`OfficeIMO.Markdown.MarkdownDoc`

**Outputs**

`OfficeIMO.AsciiDoc.Markdown.MarkdownToAsciiDocResult`

**Source**

[ConvertFromOfficeAsciiDocMarkdownCommand.cs:11](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/AsciiDoc/ConvertFromOfficeAsciiDocMarkdownCommand.cs#L11) 

Converts Markdown to native AsciiDoc with fidelity diagnostics.

## Syntax

```
ConvertFrom-OfficeAsciiDocMarkdown
[-FailOnLoss]
[-Options <MarkdownToAsciiDocOptions>]
[-OutputPath <String>]
[-Path] <String>
[<CommonParameters>]
```

[#](#method-convertfrom-officeasciidocmarkdown-switchparameter-markdowntoasciidocoptions-string-string)

Parameter set: `Path`

```
ConvertFrom-OfficeAsciiDocMarkdown
-Document <MarkdownDoc>
[-FailOnLoss]
[-Options <MarkdownToAsciiDocOptions>]
[-OutputPath <String>]
[<CommonParameters>]
```

[#](#method-convertfrom-officeasciidocmarkdown-markdowndoc-switchparameter-markdowntoasciidocoptions-string)

Parameter set: `Document`

## Examples

### Example 1

```powershell
ConvertFrom-OfficeAsciiDocMarkdown -Path 'C:\Path'
```

### Example 2

```powershell
ConvertFrom-OfficeAsciiDocMarkdown -Document 'Value'
```

## Parameters

**-FailOnLoss SwitchParameter optional**

Throw when a source feature cannot be mapped exactly.

**-Options MarkdownToAsciiDocOptions optional**

Optional conversion settings.

**-OutputPath String optional**

Optional AsciiDoc destination path.

**-Path String requiredposition: 0sets: Path**

Path to a Markdown file.

**-Document MarkdownDoc requiredpipeline: True (ByValue)sets: Document**

Markdown document to convert.

## Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see [about_CommonParameters](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:3F554E5D1091349CE09E6613C0C77B5C3A7CDEA859E762F9E8111A0F1F9BF31E -->
