google/comprehensive-rust

Rewrite speaker note system

Open

#1232 aperta il 22 set 2023

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Rust (2009 fork)batch import
good first issuehelp wanted

Metriche repository

Star
 (32.954 star)
Metriche merge PR
 (Merge medio 9g 23h) (36 PR mergiate in 30 g)

Descrizione

The speaker-notes.js file is a little home-grown system for injecting speaker notes to the pages.

I would like to rewrite this to use a more modern development style:

  • we should minimize the code when publishing the course
  • we should make the label ("Speaker Notes") translatable!
  • we could perhaps use a library for some of the state logic?
  • we could take advantage of https://github.com/google/mdbook-i18n-helpers/issues/70 when it's ready to do less on the fly DOM manipulation

Guida contributor