Commit Graph

5 Commits

Author SHA1 Message Date
Chris Krycho
3a30e4c1fb Apply dprint fmt to active files in the repo 2024-12-02 16:09:20 -07:00
Chris Krycho
f82c5caa87 infra: CSS for figcaption to match span.caption 2024-05-22 17:02:01 -06:00
Chris Krycho
17c244ac13 infra: Convert one listing to use <Listing>
- Add CSS for `figure.listing`; this now renders identically to how the
  existing listings render.
- Convert the first listing in the book to use `<Listing>` instead of
  a bunch of `<span>`s.
2024-05-14 08:25:02 -06:00
Chris Krycho
da7a20f2fc Emit semantic HTML instead of blockquotes for notes
Use the newly-introduced `mdbook-trpl-note` to render accessible and
semantic HTML for the notes/callouts in the book. This currently applies
to the nostarch version as well, so a follow-on change will update the
build process to undo that. Add CSS so the new note rendering matches
the existing rendering of blockquotes. (We might want to change that at
some point, but for now the goal is to maximizing continuity.)
2024-04-29 16:18:34 -06:00
Steve Klabnik
1fedfc4b96 move the book to the top level 2018-11-20 13:45:05 -05:00