google/comprehensive-rust

Cleaner URLs

Open

#1,227 opened on Sep 21, 2023

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Rust (32,954 stars) (2,009 forks)batch import
good first issuehelp wanted

Description

See if we can make https://github.com/rust-lang/mdBook/issues/1563 happen somehow. There are several options for this:

  • Help upstream implement this (preferred)
  • Implement it ourselves by post-processing the generated HTML.

Post-processing the HTML could perhaps even be done using a new template engine (https://github.com/google/mdbook-i18n-helpers/issues/70). It would require us to assign the rendered Markdown ({{{ content }}} in handlebars) to a variable or block and then filter it somehow.

Contributor guide