marco-core 1.0.2

nom-based Markdown parser, HTML renderer, and intelligence features (highlights, diagnostics, completions) for the Marco editor.
Documentation
// HTML renderer: AST → HTML for WebKit6 preview

pub mod base_css;
pub mod code_languages;
pub mod diagram;
pub mod markdown;
pub mod math;
pub mod options;
pub mod plarform_mentions;
pub mod preview_document;
pub mod syntect_highlighter;

pub use code_languages::*;
pub use markdown::*;
pub use options::*;
pub use preview_document::*;
pub use syntect_highlighter::*;

use crate::parser::Document;

// Main render entry point
pub fn render(
    document: &Document,
    options: &RenderOptions,
) -> Result<String, Box<dyn std::error::Error>> {
    log::info!("Starting HTML render");
    let html = render_html(document, options)?;
    log::debug!("Generated {} bytes of HTML", html.len());
    Ok(html)
}