/// Returns the default parser options, optionally including footnotes.
Returns the default parser options, optionally including footnotes.
Returns the default parser options optionally including footnotes .
fn parser_options(enable_footnotes: bool) -> Options {
        let mut options = Options::empty();
        options.insert(Options::ENABLE_STRIKETHROUGH);
        options.insert(Options::ENABLE_TABLES);
        options.insert(Options::ENABLE_SMART_PUNCTUATION);
        if enable_footnotes {
            options.insert(Options::ENABLE_FOOTNOTES);
        }
        return options;
    }
fn parser_options ( enable_footnotes : bool ) -> Options { let mut options = Options :: empty ( ) ; options . insert ( Options :: ENABLE_STRIKETHROUGH ) ; options . insert ( Options :: ENABLE_TABLES ) ; options . insert ( Options :: ENABLE_SMART_PUNCTUATION ) ; if enable_footnotes { options . insert ( Options :: ENABLE_FOOTNOTES ) ; } return options ; }
Returns the default parser options, optionally including footnotes.
Returns the default parser options optionally including footnotes .
enable_footnotes
bool