metamuffin's personal website


About 1757834769681 milliseconds have passed since midnight of the january the first in 1970.
------------------------------------------------------
            let html = highlighted_html_for_string(&code.value, syntax, lang, theme).unwrap();
            markup::new!(@raw(&html))
        }
        Node::Math(s) => {
            let mathml = latex2mathml::latex_to_mathml(&s.value, DisplayStyle::Block)
                .expect("invalid block math");
            markup::new!(@raw(&mathml))
        }
        Node::InlineMath(s) => {
            let mathml = latex2mathml::latex_to_mathml(&s.value, DisplayStyle::Inline)
                .expect("invalid inline math");
            markup::new!(@raw(&mathml))
        }
    }
}



======================================
    Contents of "blog/helper.rs"
======================================
use anyhow::{anyhow, Context};
use futures::future::join_all;
use std::{
    path::{Path, PathBuf},
    process::Stdio,
};
use tokio::{
    fs::File,
    io::{AsyncBufReadExt, BufReader},