fartdown 0.1.0

An experimental semantic markup language and static site generator for crafting hypertext documents
Documentation
1
2
3
4
5
6
7
8
9
10
use std::{collections::HashMap, path::PathBuf};

use crate::parser::Rule;

/// Uniform Resource Identifier (eg. load: )
pub type URI = String;
/// Map from URN (eg. foo.fd) to location on disk
pub type LocationMap = HashMap<String, PathBuf>;

pub type ParseError = pest::error::Error<Rule>;