Struct gazetta_render_ext::Markdown [] [src]

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

Markdown renderer

Methods

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

[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]

[src]

Formats the value using the given formatter. Read more

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

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

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

[src]

This method tests for !=.

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

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

[src]

Render this into a template buffer.

[src]

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

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

[src]

Render this into a template buffer.

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

[src]

Render this into a template buffer.

Auto Trait Implementations

impl<'a> Send for Markdown<'a>

impl<'a> Sync for Markdown<'a>