FuelLabs/fuels-rs
Auf GitHub ansehendocs: improve upstream `md-book` code snippets display
Open
#388 geöffnet am 13. Juni 2022
blockedenhancementgood first issue
Repository-Metriken
- Stars
- (43.211 Stars)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
- We now want all code that goes in the book to be tested (and put in the
examplesdirectory), so all code inThe Bookwill soon be put there using the{{include path/to/file}}tag ofmd-book.
Problem: the formatting isn 't very nice, there's extra identation displayed because the code is inside a test function.
Fixing https://github.com/rust-lang/mdBook/issues/1601 would solve this! It would also be of benefit for all books!
Tagging @mitchmindtree for tooling consideration :smile: