Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Themes & Styling

Possible solutions for TOC on long pages?

Started by Zuzana Fenclová 5 years ago · 1 replies · 543 views
5 years ago

Hello everyone,

I have a long page (a kind of tutorial) which I am trying to make more user friendly. Having a TOC at the beginning of the page seems like a good option. Therefore I am researching possible ways of making TOC derived from markdown headings used on a page.

My questions are:

  1. Is there a built-in solution (that I have overlooked)?
  2. Does Grav TOC Plugin work only with markup, or is there a way of using it for makdown as well?
  3. Is there another plugin that would do the job, apart from forementioned Grav TOC Plugin and Grav Plugin Toc v1.4.1?

THX, your help is greatly appreciated.

5 years ago

@sue, From a search on this forum on 'toc anchors', I found Grav Anchors Plugin.

Could that plugin serve your needs?

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by Pedro M, 2 months ago
4 198 2 months ago
Themes & Styling · by Ian, 2 months ago
3 94 2 months ago
Themes & Styling · by Norbert, 2 years ago
11 456 3 months ago
Themes & Styling · by Lukáš Findeis, 3 months ago
0 48 3 months ago
Themes & Styling · by Sebadamus, 4 months ago
5 128 3 months ago