Comments (1)
Yes, that totally makes sense. I know that reference in the README is a bit confusing, and you should feel free to rewrite whatever doesn't make sense.
That object is basically what gets passed to the toc.html
liquid include, and this happens automatically. So you should be able to add the {{ toc }}
tag, add the toc.html
include, and add the toc_item.html
include and it just just work. You can take a look in the example
folder on the magicbook github to see a working project.
Also, you should update to version 0.1.5
of magicbook. There's a ton of changes!
from magicbook.
Related Issues (20)
- automatic date HOT 1
- HTML build missing files HOT 1
- .jsx files not triggering rebuild on watch
- Add ability to limit TOC to n-levels HOT 1
- Any advacement on magicbook recently? HOT 8
- [Solved] Error in installation HOT 2
- Custom build folder location being included in the build
- Do not end process on failure when watching
- Error on build (Can't find module stylesheets) HOT 21
- Two html/body HOT 3
- needs assessment wrt Nature of Code 2.0? HOT 2
- magicbook serve command
- image files are not found on Windows HOT 5
- Not installing HOT 4
- magicbook command not found HOT 1
- HTML build fails without error HOT 1
- cannot do npm install with node 16 due to node-sass HOT 2
- More detailed PrinceXML error messages HOT 3
- Duplicated auto-generated IDs HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magicbook.