From db24a2ac4d71b20e0501f2604231a7b8c7672da2 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Tue, 15 Dec 2020 20:50:43 +0000 Subject: [PATCH] book: Add KaTeX support --- .github/workflows/book.yml | 6 ++++++ book/book.toml | 2 ++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/book.yml b/.github/workflows/book.yml index 69c7b07c..5f20c520 100644 --- a/.github/workflows/book.yml +++ b/.github/workflows/book.yml @@ -16,6 +16,12 @@ jobs: with: mdbook-version: '0.4.4' + - name: Install mdbook-katex + uses: actions-rs/cargo@v1 + with: + command: install + args: mdbook-katex + - name: Build Orchard book run: mdbook build book/ diff --git a/book/book.toml b/book/book.toml index 9c221ca0..e86492cb 100644 --- a/book/book.toml +++ b/book/book.toml @@ -4,3 +4,5 @@ language = "en" multilingual = false src = "src" title = "The Orchard Book" + +[preprocessor.katex]