Skip to content

Need section outlining of markdown headers #52

@rphair

Description

@rphair

This is a recently prioritised issue especially because of long CIPs and CPSs submitted in the Consensus category, particularly for evolutions of the Ouroboros protocol that are very detailed and conceptually novel, requiring very detailed specification and rationale.

Knowledge of the CIP format is not enough for readers of such long & detailed documents to navigate without a Table of Contents. These have been automatically generated (at least as an option) on GitHub, and generated previously on the prominent CIP section of the Developer Portal (since then, re-linked to cips.cardano.org), but are missing here.

@aldo555 I believe you have already received this suggestion favourably and I trust this issue will help to track the response. Here are the preliminary discussions that led to the issue (cc @fallen-icarus @nhenin @rrtoledo @bwbush):

I would make the one technical recommendation that such elements currently in CIPs should be ignored when parsing, as currently appearing in the merged CIP-0140 (cc @abailly @bwbush), to avoid a duplicated and perhaps inconsistent ToC:

<details>
  <summary><h2>Table of contents</h2></summary>
  ...
</details>

while leaving other <details> elements transparently rendered e.g. in the Acknowledgement section of CIP-1694. If this seems a problem to implement or error-prone, you can avoid that and we'll address the problem at source as outlined in cardano-foundation/CIPs#1065 (comment).

cc (fellow CIP editors): @Ryun1 @Crypto2099 @perturbing

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