Skip to content
This repository was archived by the owner on Jun 4, 2022. It is now read-only.
This repository was archived by the owner on Jun 4, 2022. It is now read-only.

[Feature Request] Make a table sortable #118

Open
@lxynov

Description

@lxynov

For a table like

Title Year Category Rating
Book 1 2018 Fiction 4.2
Book 2 2005 Tech 3.9
Book 3 2008 Fiction 4.3

It would be useful to make it sortable by columns. Example: https://www.w3schools.com/w3js/w3js_sort.asp

According to this post, we can import a Sortable JS library and simply add class name sortable to table elements in HTML to achieve this.

So is this achievable on the theme side? Or is this a feature request to Hexo? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature:extensionFeature request that affects widgets, comment, share, search, and plugins.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions