Skip to content

Reading progress indicator  #983

@yash-chowdhary

Description

@yash-chowdhary

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.

ezgif com-video-to-gif

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions