Added MathJax support does not work 100% but it's better than nothing #49
This commit is contained in:
parent
82a774c90e
commit
6962731474
|
@ -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<Vec<BookItem>> {
|
||||
debug!("[fn]: construct_bookitems");
|
||||
let mut summary = String::new();
|
||||
|
|
|
@ -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="highlight.css">
|
||||
|
||||
|
||||
<!-- MathJax -->
|
||||
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
|
Loading…
Reference in New Issue