[][src]Function cmark_gfm_sys::cmark_parser_attach_syntax_extension

pub unsafe extern "C" fn cmark_parser_attach_syntax_extension(
    parser: *mut cmark_parser,
    extension: *mut cmark_syntax_extension
) -> c_int

Attach the syntax 'extension' to the 'parser', to provide extra syntax rules. See the documentation for cmark_syntax_extension for more information.

Returns 'true' if the 'extension' was successfully attached, 'false' otherwise.