kanboard-plugin-wiki icon indicating copy to clipboard operation
kanboard-plugin-wiki copied to clipboard

Table of contents for Wikipages with section links

Open deecey opened this issue 6 years ago • 4 comments

This issue is:

  • [ ] Bug report
  • [ ] Feature request
  • [x] Improvement

Actual behaviour

Currently there is no table of contents for Wikipages, which makes longer pages confusing. At the same time, the block with the versioning information takes up a lot of space.

Expected behaviour

There is a table of contents, e.g. as soon as there are more than three sections on the page. Clicking on one of the headings will take you to the appropriate section. The block with the version information is presented e.g. not as a list but side by side and in a smaller font.

Steps to reproduce

Screenshots

Logs

Configuration

  • Kanboard version:
  • Database type and version:
  • PHP version:
  • OS:
  • Browser:
  • Application settings Language:

deecey avatar Jan 02 '19 10:01 deecey

It sounds like it would be possible to implement a default page to use as the table of contents. Then you could use markdown to style your sections.

lastlink avatar Jan 08 '19 01:01 lastlink

I am not sure if I understood your comment correctly. I meant something like the table of contents of Wikipedia articles. Don't know how that could work with the default page. But that would be a new page that does not exist in the current Wikipages version, right?

deecey avatar Jan 11 '19 13:01 deecey

They are supposed to be markdown compliant that does have links/anchors using headers. e.g. https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#headers

lastlink avatar Jan 11 '19 14:01 lastlink

Okay, that means I can write a common article with headings and these are then used as the basis for the table of contents. Yes, that would be great :-) 👍

deecey avatar Jan 14 '19 08:01 deecey

You can create a manual table of conrtents. This is usually what I do, home page,

tob

  • item 1
  • item 2
  • etc

lastlink avatar Nov 12 '22 00:11 lastlink