katana-markdown-engine 0.1.0

Renderer-neutral Markdown document model for the KatanA ecosystem
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::path::PathBuf;
use thiserror::Error;

#[derive(Debug, Error)]
pub enum KmeError {
    #[error("failed to read Markdown file `{path}`: {source}")]
    ReadFile {
        path: PathBuf,
        source: std::io::Error,
    },
    #[error("Markdown source is empty")]
    EmptySource,
}