Skip to content

Commit

Permalink
Moved katex to within mdzk crate
Browse files Browse the repository at this point in the history
  • Loading branch information
kmaasrud committed Sep 24, 2021
1 parent 6f91242 commit 9b74d6d
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 21 deletions.
8 changes: 0 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ members = [
"preprocessors/mdbook-wikilinks",
"preprocessors/mdbook-frontmatter",
"preprocessors/mdbook-readme",
"preprocessors/mdbook-katex",
]

[dependencies]
Expand All @@ -54,7 +53,6 @@ structopt = "0.3.23"
toml = "0.5.8"

# Preprocessors
mdbook-katex = { path = "preprocessors/mdbook-katex", version = "0.1.1" }
mdbook-backlinks = { path = "preprocessors/mdbook-backlinks", version = "0.2.6" }
mdbook-frontmatter = { path = "preprocessors/mdbook-frontmatter", version = "0.0.3" }
mdbook-readme = { path = "preprocessors/mdbook-readme", version = "0.0.3" }
Expand Down
10 changes: 0 additions & 10 deletions preprocessors/mdbook-katex/Cargo.toml

This file was deleted.

File renamed without changes.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ extern crate log;

pub mod cmd;
pub mod config;
pub mod katex;
pub mod renderer;
pub mod utils;
pub mod zk;
Expand Down
2 changes: 1 addition & 1 deletion src/zk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use anyhow::Context;
use mdbook::{book::parse_summary, errors::*, MDBook};
use mdbook_backlinks::Backlinks;
use mdbook_frontmatter::FrontMatter;
use mdbook_katex::Katex;
use crate::katex::Katex;
use mdbook_readme::ReadmePreprocessor;
use mdbook_wikilinks::WikiLinks;
use std::fs::File;
Expand Down

0 comments on commit 9b74d6d

Please sign in to comment.