Struct gazetta_render_ext::Markdown [] [src]

pub struct Markdown<'a> { /* fields omitted */ }

Markdown renderer

Methods

impl<'a> Markdown<'a>
[src]

Create a new markdown renderer.

data should contain the markdown to be rendered and base should specify a relative url prefix (for relative links and images).

Note: base will only affect markdown links and images, not inline html ones.

Trait Implementations

impl<'a> Debug for Markdown<'a>
[src]

Formats the value using the given formatter.

impl<'a> Copy for Markdown<'a>
[src]

impl<'a> Clone for Markdown<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> PartialEq for Markdown<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> Eq for Markdown<'a>
[src]

impl<'a> RenderOnce for Markdown<'a>
[src]

Render this into a template buffer.

Returns a (very) rough estimate of how many bytes this Render will use.

impl<'a> RenderMut for Markdown<'a>
[src]

Render this into a template buffer.

impl<'a> Render for Markdown<'a>
[src]

Render this into a template buffer.