Crate htmlprep

Crate htmlprep 

Source

Structs§

CompileOptions
Error
Html
Placeholder
Placeholders

Functions§

compile
Processes all files in source and places the results into the dir in dest. source can be either a file or a directory, but dest must only be a directory. Processing means that all #include comments in the source html are replaced with the file specified in the comment. Processing will not replace #placeholder comments, as these are mean to be replaced dynamically each time the file is requested.
process_file
Processes a single file and returns a structure containing the entire file in memory