Skip to main content

Module config

Module config 

Source

Structs§

Config
ConfigBuilder
Extensions
Pandoc/Markdown extensions configuration. Each field represents a specific Pandoc extension. Extensions marked with a comment indicate implementation status.
FormatterConfig
Configuration for an external code formatter.
FormatterDefinition
NEW: Named formatter definition (formatters.NAME sections in new format) OLD: Language-specific formatter config (formatters.LANG sections in old format)
FormatterPresetMetadata
LintConfig
Linter configuration. Preferred shape is [lint.rules] rule-name = true/false. Legacy [lint] rule-name = true/false is still supported (deprecated).
ParserConfig
Parser configuration.
StyleConfig
Formatting style configuration. Groups all style-related settings together.

Enums§

BlankLines
Flavor
The flavor of Markdown to parse and format. Each flavor has a different set of default extensions enabled.
FormatterValue
NEW: Language → Formatter mapping value (single formatter or chain)
LineEnding
MathDelimiterStyle
Style for formatting math delimiters
PandocCompat
TabStopMode
Tab stop handling for formatter output.
WrapMode

Constants§

DEFAULT_EXCLUDE_PATTERNS
DEFAULT_INCLUDE_PATTERNS

Functions§

all_formatter_preset_metadata
default_formatters
Get the default formatters HashMap with built-in presets. Currently includes R (air) and Python (ruff).
formatter_preset_metadata
formatter_preset_names
Canonical built-in formatter preset names used for docs and diagnostics.
formatter_preset_supported_languages
formatter_presets_for_language
get_formatter_preset
Get a built-in formatter preset by name. Returns None if the preset doesn’t exist.
load
Load configuration with precedence: