Skip to content

Made the token list a table#1

Merged
hoonweiting merged 1 commit intohoonweiting:2849-token-type-docsfrom
RunDevelopment:tokens-table
Oct 5, 2021
Merged

Made the token list a table#1
hoonweiting merged 1 commit intohoonweiting:2849-token-type-docsfrom
RunDevelopment:tokens-table

Conversation

@RunDevelopment
Copy link
Copy Markdown

Here's the PR I promised here.

I converted the definition list into a table. The design and structure are heavily influenced by HighlightJS' scope reference. I also shortened many examples.

image

@hoonweiting
Copy link
Copy Markdown
Owner

Oh man thank you so much for doing this! I'll take a look at it tomorrow :)

Copy link
Copy Markdown
Owner

@hoonweiting hoonweiting left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really, really like this! It is so much neater than the vanilla definition list, and the sorting of tokens into groups helps a ton too.

But I also want to use semantically-correct HTML tags as far as possible, so I'll see what I can do with CSS. I don't have very high hopes for it, so that might not come to fruition at all :P

@hoonweiting hoonweiting merged commit 8615c44 into hoonweiting:2849-token-type-docs Oct 5, 2021
@hoonweiting
Copy link
Copy Markdown
Owner

Clearly I am not familiar enough with merging PRs :") @ silly extra merge commit

@RunDevelopment RunDevelopment deleted the tokens-table branch October 5, 2021 13:51
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.

2 participants