NUKnightLab / NUKnightLab/TimelineJS3

Feature request: Option to disable headline formatting

Open
#902 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
3.2k
Forks
645
PR merge metrics
No merged PRs in 30d

Description

A variable to disable the application of <h2> and <h3> in the timeline text, or to change the top heading level, would come in handy. I am embedding timelines in a webpage and the built-in formatting is interfering with the semantic structure of the page sections, not to mention it is showing up in the script-generated Table of Contents.

(I understand active development has stopped, but if anyone is keen to help me implement this change, as I am not a developer and not very experienced with JavaScript, that would be great)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the timeline text rendering and the script-generated Table of Contents entry points, since the issue names no files or tests. Define how an option disables generated h2/h3 elements or changes the top heading level, then verify embedded timelines preserve the requested semantic structure and the resulting Table of Contents behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.