mdBook
mdBook copied to clipboard
Improved book.toml file Settings
Problem
Allows direct writing of JavaScript code. For example:
[output.html]
additional-js = {
alert("Hello, world!");}
Proposed Solution
No response
Notes
No response
I think this solves the JavaScript file setup problem to some extent
@Grey-Wind I do not understand your problem / solution here.
Is your problem that you can't include JS in an mdbook so you want to add an additional-js field to the output.html section?
I mean when I want to use some simple functions, I can write it in the toml file.
I mean when I want to use some simple functions, I can write it in the toml file.
Such as alert.