mirror of
https://github.com/rust-lang/mdBook
synced 2024-12-14 06:42:35 +00:00
Added MathJax support does not work 100% but it's better than nothing #49
This commit is contained in:
parent
82a774c90e
commit
6962731474
2 changed files with 2 additions and 11 deletions
|
@ -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 a new issue