OpenTabletDriver / OpenTabletDriver/opentabletdriver.github.io

Figure out a better way to add classes to specific elements, e.g. HTML tables

Open
#165 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue styling wiki
Dominant language
HTML
Stars
36
Forks
10
Avg merge
12h 32m
Merged PRs (30d)
9

Description

While working on #158 (especially be008ef084), I noticed that a lot of elements need to have the same classes attached to them. We already kind of "fix" this with JavaScript, but unsurprisingly this results in inconsistent styling for noscript users.

I think the best way to work around this is by extending the current Markdown parser we use, since it does not seem like they have any configuration options that can help with assigning HTML/CSS classes to specific elements.

Contributor guide

No contributing guide indexed for this repository

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 current Markdown parser and the JavaScript workaround referenced in the issue, then compare how affected elements are rendered with and without JavaScript. Define the required class assignments and confirm that generated HTML provides consistent styling for noscript users.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, html, jekyll, markdown
Domain
frontend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.