Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made the token list a table #1

Merged

Conversation

RunDevelopment
Copy link

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
Owner

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

Copy link
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
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