From 6962731474b0626c6e9ef985eff6704ebbe1e258 Mon Sep 17 00:00:00 2001 From: Mathieu David Date: Thu, 10 Sep 2015 23:30:29 +0200 Subject: [PATCH] Added MathJax support does not work 100% but it's better than nothing #49 --- src/parse/summary.rs | 10 ---------- src/theme/index.hbs | 3 ++- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/src/parse/summary.rs b/src/parse/summary.rs index 973524b8..fcd3582b 100644 --- a/src/parse/summary.rs +++ b/src/parse/summary.rs @@ -3,16 +3,6 @@ use std::fs::File; use std::io::{Read, Result, Error, ErrorKind}; use book::bookitem::BookItem; -/* -pub enum LineType { - Blank, - Header, - Link(String, PathBuf), // Name, Path - ListItem(String, PathBuf, i32), // Name, Path, Level - Other, -} -*/ - pub fn construct_bookitems(path: &PathBuf) -> Result> { debug!("[fn]: construct_bookitems"); let mut summary = String::new(); diff --git a/src/theme/index.hbs b/src/theme/index.hbs index 60d375ad..639009b6 100644 --- a/src/theme/index.hbs +++ b/src/theme/index.hbs @@ -14,7 +14,8 @@ - + +