inkle / inkle/inky

Setting # CLASS on choices for web export

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

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
2.7k
Forks
340
PR merge metrics
No merged PRs in 30d

Description

Maybe I'm just doing it wrong, but it seems like I cannot put classes onto choices, only the other text. Only the standard class appear for choices, even when exported & inspected in web browser

A wonderful description # CLASS classthatwork

  • Choice -> knot # CLASS classthatdonotwork

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

Reproduce the example in the issue, export it for the web, and inspect the generated choice elements in a browser. Trace the web export path that handles choice markup and compare it with the handling of the surrounding text; done means the choice's # CLASS value appears in the exported HTML.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.