AdfToMarkdown Class
Converts Atlassian Document Format documents to Markdown.
public static class AdfToMarkdownMethods
| Name | Description |
|---|---|
| Convert(AdfDocument) | Converts an ADF document to Markdown using the default options. |
| Convert(AdfDocument, AdfToMarkdownOptions) | Converts an ADF document to Markdown. |
| Convert(string) | Converts an ADF document to Markdown using the default options. |
| Convert(string, AdfToMarkdownOptions) | Converts an ADF document to Markdown. |
| Convert(JsonElement) | Converts an ADF document to Markdown using the default options. |
| Convert(JsonElement, AdfToMarkdownOptions) | Converts an ADF document to Markdown. |
| Convert(JsonNode) | Converts an ADF document to Markdown using the default options. |
| Convert(JsonNode, AdfToMarkdownOptions) | Converts an ADF document to Markdown. |
Convert overloads
Convert(AdfDocument)
AdfToMarkdown.csConverts an ADF document to Markdown using the default options.
public static string Convert(AdfDocument document)Convert(AdfDocument, AdfToMarkdownOptions)
AdfToMarkdown.csConverts an ADF document to Markdown.
public static string Convert(AdfDocument document, AdfToMarkdownOptions options)Parameters
documentAdfDocument- The document to convert.
optionsAdfToMarkdownOptions- The conversion options.
Returns
Convert(string)
AdfToMarkdown.csConverts an ADF document to Markdown using the default options.
Parameters
jsonstring- The JSON representation of the document.
Returns
Exceptions
AdfException- The value is not a valid ADF document.
Convert(string, AdfToMarkdownOptions)
AdfToMarkdown.csConverts an ADF document to Markdown.
public static string Convert(string json, AdfToMarkdownOptions options)Parameters
jsonstring- The JSON representation of the document.
optionsAdfToMarkdownOptions- The conversion options.
Returns
Exceptions
AdfException- The value is not a valid ADF document.
Convert(JsonElement)
AdfToMarkdown.csConverts an ADF document to Markdown using the default options.
public static string Convert(JsonElement element)Parameters
elementJsonElement- The JSON representation of the document.
Returns
Exceptions
AdfException- The value is not a valid ADF document.
Convert(JsonElement, AdfToMarkdownOptions)
AdfToMarkdown.csConverts an ADF document to Markdown.
public static string Convert(JsonElement element, AdfToMarkdownOptions options)Parameters
elementJsonElement- The JSON representation of the document.
optionsAdfToMarkdownOptions- The conversion options.
Returns
Exceptions
AdfException- The value is not a valid ADF document.
Convert(JsonNode)
AdfToMarkdown.csConverts an ADF document to Markdown using the default options.
Parameters
nodeJsonNode- The JSON representation of the document.
Returns
Exceptions
AdfException- The value is not a valid ADF document.
Convert(JsonNode, AdfToMarkdownOptions)
AdfToMarkdown.csConverts an ADF document to Markdown.
public static string Convert(JsonNode node, AdfToMarkdownOptions options)Parameters
nodeJsonNode- The JSON representation of the document.
optionsAdfToMarkdownOptions- The conversion options.
Returns
Exceptions
AdfException- The value is not a valid ADF document.