noc-book-2/magicbook.json
Jason Gao abcc68634a use our own katex plugin
postprocess the accent body: divide the left position by 2
2023-11-22 00:17:43 +08:00

46 lines
No EOL
953 B
JSON

{
"title": "Nature of Code",
"prince": {
"timeout": 60000
},
"addPlugins": [
"magicbook/plugins/katex.js",
"magicbook/plugins/codesplit.js",
"magicbook/plugins/relative-link.js",
"magicbook/plugins/screenshot.js",
"magicbook/plugins/chapter-opening.js",
"magicbook/plugins/callout.js"
],
"files": [
"content/*.html"
],
"layout": "magicbook/layouts/pdf.html",
"images": {
"colorspace": "grey16",
"files": [
"content/**/*.jpg",
"content/**/*.png",
"magicbook/images/**/*.*"
]
},
"stylesheets": {
"files": [
"magicbook/stylesheets/index.scss"
]
},
"fonts": {
"files": "magicbook/fonts/**/*.*",
"destination": "assets/fonts/"
},
"builds": [
{
"format": "pdf",
"destination": "build/chapter-opening-preview",
"chapterOpeningPagesOnly": true
},
{
"format": "pdf",
"destination": "build/full"
}
]
}