Skip to main content

document_format_profile

Function document_format_profile 

Source
pub fn document_format_profile(format: &str) -> Option<LanguageProfile>
Expand description

Returns the capability profile for a document format, or None when the format is not one of the cross-format reconstruction targets.

The returned LanguageProfile lists the formatting concepts the format represents natively (via LanguageProfile::supports_concept) and the documented fallback for every concept it cannot (via LanguageProfile::concept_fallback / LanguageProfile::fallbacks).