mdBook/src/renderer/renderer.rs

9 lines
190 B
Rust
Raw Normal View History

use book::{BookItem, BookItems};
use book::BookConfig;
use std::error::Error;
pub trait Renderer {
fn render(&self, book: BookItems, config: &BookConfig) -> Result<(), Box<Error>>;
}