scriptorium/utils/marked
Bindings to the marked.js library.
Types
Values
pub fn default_parse(content: String) -> String
Parse a string containing Markdown using the default options.
pub fn parse(
content content: String,
options options: @internal Object,
) -> String
Parse a string containing Markdown using Marked.js.
pub fn set_header_ids(
options: @internal Object,
ids: Bool,
) -> @internal Object
Set the headerIds
option on or off.
pub fn set_header_prefix(
options: @internal Object,
prefix: String,
) -> @internal Object
Set the headerPrefix
option.
pub fn set_mangle(
options: @internal Object,
do_mangle: Bool,
) -> @internal Object
Set the mangle
option on or off.