Skip to main content

metadata_format_from_str

Function metadata_format_from_str 

Source
pub fn metadata_format_from_str(value: &str) -> Option<Format>
Expand description

Parse a metadata.format config value (yaml/json/toml/fig) into a metadata fig::Format, honoring the compiled-in formats — the public form of [format_from_str], for callers that name a frontmatter language from outside the config parser (the CLI’s convert … metadata.format …).