Skip to content

Commit 9b74d6d

Browse files
committed
Moved katex to within mdzk crate
1 parent 6f91242 commit 9b74d6d

File tree

6 files changed

+2
-21
lines changed

6 files changed

+2
-21
lines changed

Cargo.lock

-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ members = [
3131
"preprocessors/mdbook-wikilinks",
3232
"preprocessors/mdbook-frontmatter",
3333
"preprocessors/mdbook-readme",
34-
"preprocessors/mdbook-katex",
3534
]
3635

3736
[dependencies]
@@ -54,7 +53,6 @@ structopt = "0.3.23"
5453
toml = "0.5.8"
5554

5655
# Preprocessors
57-
mdbook-katex = { path = "preprocessors/mdbook-katex", version = "0.1.1" }
5856
mdbook-backlinks = { path = "preprocessors/mdbook-backlinks", version = "0.2.6" }
5957
mdbook-frontmatter = { path = "preprocessors/mdbook-frontmatter", version = "0.0.3" }
6058
mdbook-readme = { path = "preprocessors/mdbook-readme", version = "0.0.3" }

preprocessors/mdbook-katex/Cargo.toml

-10
This file was deleted.
File renamed without changes.

src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ extern crate log;
33

44
pub mod cmd;
55
pub mod config;
6+
pub mod katex;
67
pub mod renderer;
78
pub mod utils;
89
pub mod zk;

src/zk.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use anyhow::Context;
77
use mdbook::{book::parse_summary, errors::*, MDBook};
88
use mdbook_backlinks::Backlinks;
99
use mdbook_frontmatter::FrontMatter;
10-
use mdbook_katex::Katex;
10+
use crate::katex::Katex;
1111
use mdbook_readme::ReadmePreprocessor;
1212
use mdbook_wikilinks::WikiLinks;
1313
use std::fs::File;

0 commit comments

Comments
 (0)