Struct dprint_plugin_markdown::configuration::ConfigurationBuilder [−][src]
pub struct ConfigurationBuilder { /* fields omitted */ }Expand description
Markdown formatting configuration builder.
Example
use dprint_plugin_markdown::configuration::*;
let config = ConfigurationBuilder::new()
.line_width(80)
.build();Implementations
Constructs a new configuration builder.
Gets the final configuration that can be used to format a file.
Set the global configuration.
The width of a line the printer will try to stay under. Note that the printer may exceed this width in certain cases. Default: 80
The kind of newline to use.
Default: NewLineKind::LineFeed
The kind of text wrapping to use.
Default: TextWrap::Maintain
The character to use for emphasis/italics.
Default: EmphasisKind::Underscores
The character to use for strong emphasis/bold.
Default: StrongKind::Underscores
The directive used to ignore a line.
Default: dprint-ignore
The directive used to ignore a file.
Default: dprint-ignore-file
The directive used to mark start of ignored section.
Default: dprint-ignore-start
The directive used to mark end of ignored section.
Default: dprint-ignore-end