Skip to content

Add CSS targets#16

Merged
sec-ml merged 4 commits into
mainfrom
table-element-addressing
Jun 17, 2025
Merged

Add CSS targets#16
sec-ml merged 4 commits into
mainfrom
table-element-addressing

Conversation

@sec-ml

@sec-ml sec-ml commented Jun 17, 2025

Copy link
Copy Markdown
Owner

Add initial css targeting. Add targets to row classes, enable abbreviation targeting (replace with span).

Note to self: this can allow targeting of elements that contain the abbreviations: tr:has(.abbr-test) {color:yellow;}

Second note to self: Don't get stuck on a bug and return a month later thinking you'll remember what was working and what was not.

Add initial css targeting. Add targets to row classes, enable abbreviation targeting (replace with span).

Note to self: this can allow targeting of elements that contain the abbreviations: `tr:has(.abbr-test) {color:yellow;}`

Second note to self: Don't get stuck on a bug and return a month later thinking you'll remember what was working and what was not.
@vercel

vercel Bot commented Jun 17, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
index-creator ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 17, 2025 9:12pm

sec-ml added 2 commits June 17, 2025 22:11
Previously: stripped markdown formatting before term sorting.
Now: Added `stripAllMarkup` to handle markdown and anything that looks like HTML tags. As abbreviations get wrapped in a span to allow CSS targeting, if a term starts with one, it was sorting on `<span class ...`. Now Orders correctly.
Regenerate files:

```
node index-creator.js -t --update-expected=testSubstitution
node index-creator.js -t --update-expected=testComments
```
@sec-ml
sec-ml merged commit 4d9cbc7 into main Jun 17, 2025
2 checks passed
@sec-ml
sec-ml deleted the table-element-addressing branch June 17, 2025 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant