View Source mix add_navigation (livebook_utils v0.1.0)
Summary
Functions
Usage
Run the mix add_navigation
task to automatically add navigation.
Sections for navigation should be included in the notebook using the following comments:
<!-- navigation-start -->
<!-- navigation-end -->
livebook_utils
can update your navigation whenever your index file changes. You also have control over where navigation goes.
Template Example
Typically, we recommend putting a navigation section at the top and the bottom of the file.
Here's an example template livebook file with navigation at the top and bottom of the file.
# Title
## Navigation
<!-- navigation-start -->
<!-- navigation-end -->
## SubTitle
## Navigation
<!-- navigation-start -->
<!-- navigation-end -->
You must have two or more notebooks in your index file with valid paths and titles to add navigation.
Styling
Currently, we don't provide any control over styling the navigation section. Here's how navigation looks out of the box: