Feature request: custom text #4

Closed
opened 2022-06-20 10:15:44 +00:00 by joepio · 1 comment
joepio commented 2022-06-20 10:15:44 +00:00 (Migrated from github.com)

Hi there! Thanks for sharing this :)

I'd like to make some small modifications to the footer, so the only text in the Footer would read Edit this page on GitHub. I think the Found a bug? question doesn't fit my usecase, and refering to file is maybe a bit less clear then document.

Maybe a custom property in the .toml file would work for this?

[preprocessor.open-on-gh]
command = "mdbook-open-on-gh"
renderer = ["html"]
footer_text = "Edit this page on GitHub"
Hi there! Thanks for sharing this :) I'd like to make some small modifications to the footer, so the only text in the Footer would read `Edit this page on GitHub`. I think the `Found a bug?` question doesn't fit my usecase, and refering to `file` is maybe a bit less clear then `document`. Maybe a custom property in the `.toml` file would work for this? ```toml [preprocessor.open-on-gh] command = "mdbook-open-on-gh" renderer = ["html"] footer_text = "Edit this page on GitHub" ```
joepio commented 2022-06-27 08:13:03 +00:00 (Migrated from github.com)

Wow, thank you so much @badboy! 👯

Wow, thank you so much @badboy! 👯
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jer/mdbook-open-on-gh#4
No description provided.