Added MathJax support does not work 100% but it's better than nothing #49

This commit is contained in:
Mathieu David 2015-09-10 23:30:29 +02:00
parent 82a774c90e
commit 6962731474
2 changed files with 2 additions and 11 deletions

View File

@ -3,16 +3,6 @@ use std::fs::File;
use std::io::{Read, Result, Error, ErrorKind}; use std::io::{Read, Result, Error, ErrorKind};
use book::bookitem::BookItem; 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<Vec<BookItem>> { pub fn construct_bookitems(path: &PathBuf) -> Result<Vec<BookItem>> {
debug!("[fn]: construct_bookitems"); debug!("[fn]: construct_bookitems");
let mut summary = String::new(); let mut summary = String::new();

View File

@ -14,7 +14,8 @@
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<link rel="stylesheet" href="highlight.css"> <link rel="stylesheet" href="highlight.css">
<!-- MathJax -->
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
</head> </head>
<body> <body>