Struct octorust::markdown::Markdown[][src]

pub struct Markdown { /* fields omitted */ }

Implementations

Render a Markdown document.

This function performs a POST to the /markdown endpoint.

FROM: https://docs.github.com/rest/reference/markdown#render-a-markdown-document

Render a Markdown document in raw mode.

This function performs a POST to the /markdown/raw endpoint.

You must send Markdown as plain text (using a Content-Type header of text/plain or text/x-markdown) to this endpoint, rather than using JSON format. In raw mode, GitHub Flavored Markdown is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.

FROM: https://docs.github.com/rest/reference/markdown#render-a-markdown-document-in-raw-mode

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.