How to sort headings alphabetically in a .md file in Docusaurus

31 Views Asked by At

I have a markdown file in the docs folder in my docusaurus project.

I have H2 and H3 headings in that markdown file that i wish to be sorted alphabetically when it is rendered.

How can i achieve this functionality?

0

There are 0 best solutions below