-
Notifications
You must be signed in to change notification settings - Fork 142
Description
Is your request related to a problem?
This is a nice-to-have feature. It's a nice way to show how far along the user is on a page. The page navigation doesn't quite capture the same thing, as it only shows the headers and sub-headers of the content.
Describe the solution you'd like
The author can have the option to add a progress indicator to a page.
Currently, I started by adding the following markup to the page -
<div class="progress"></div>The CSS and the JS will already be available when markbind init is executed should the author ever need to use this feature.
Describe alternatives you've considered
Perhaps it can be implemented through Front Matter as a boolean flag? This would avoid having to add the markup in every page that the progress indicator is desirable. This would also ensure that the authors don't need to deal with HTML at all.
I am yet to try this alternative approach. I'd like to get some feedback first.
Additional context
None.
