1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-07-14 18:14:29 +02:00

Add mdbook-course to handle parsing frontmatter (#1224)

In v2 of the course, I'd like to include an estimate of the time to be
spent on each segment in the Markdown file. I think a good place for
such metadata is in the frontmatter.

For review purposes, though, I just want to display that information.
So, this is a start at a new mdbook preprocessor that just separates out
the frontmatter and includes it in a `<pre>` block. Eventually, I'd like
to parse it and put the time in the speaker notes.

---------

Co-authored-by: Martin Geisler <martin@geisler.net>
This commit is contained in:
Dustin J. Mitchell
2023-09-20 10:01:53 -04:00
committed by GitHub
parent ddc9ea1fa6
commit 4815264e2d
11 changed files with 194 additions and 45 deletions

View File

@ -22,6 +22,10 @@ runs:
run: cargo install mdbook-i18n-helpers --locked --version 0.2.3
shell: bash
- name: Install exerciser
- name: Install mdbook-exerciser
run: cargo install --path mdbook-exerciser --locked
shell: bash
- name: Install mdbook-course
run: cargo install --path mdbook-course --locked
shell: bash