rust-lang / mdBook

Create book from markdown files. Like Gitbook but implemented in Rust
https://rust-lang.github.io/mdBook/
Mozilla Public License 2.0
17.84k stars 1.62k forks source link

Small options for creating interactive fictions #2417

Closed ravaq closed 2 months ago

ravaq commented 2 months ago

Problem

Hi, and thanks for awesome mdBook, If there was an option to disable page navigation arrows and contents list in book.toml, it could be used to create simple interactive fiction.

Proposed Solution

No response

Notes

No response

ehuss commented 2 months ago

There are no direct options for that. You might be able to override index.hbs (via the theme) to customize the layout of the page. Otherwise, this seems out of scope for this tool, thanks for the suggestion, though!

ravaq commented 2 months ago

There are no direct options for that. You might be able to override index.hbs (via the theme) to customize the layout of the page. Otherwise, this seems out of scope for this tool, thanks for the suggestion, though!

Why not? Adding some simple options allows mdBook to be used as a common 'markdown to site', not only a 'help maker'.