panache-formatter 0.6.0

Core formatting engine for Pandoc markdown, Quarto, and RMarkdown
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub use panache_parser::parser::blocks;
pub use panache_parser::parser::inlines;
pub use panache_parser::parser::utils;
pub use panache_parser::parser::yaml;

use crate::config::ParserOptions;
use crate::syntax::SyntaxNode;

pub fn parse(input: &str, config: Option<ParserOptions>) -> SyntaxNode {
    panache_parser::parser::parse(input, config)
}