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

docs: add css for inline code #2844

Merged
merged 2 commits into from Feb 24, 2024
Merged

Conversation

sh-cho
Copy link
Contributor

@sh-cho sh-cho commented Jan 2, 2024

Recently I am building a parser with tree-sitter and while reading the docs, I thought it would be better if the inline code was more readable, so I changed the style.

What do you think? I'd love to hear your thoughts.

Here are some examples of the styling

as-is to-be
image image

ex) https://tree-sitter.github.io/tree-sitter/creating-parsers#keywords

as-is to-be
image image

ex) https://tree-sitter.github.io/tree-sitter/creating-parsers#external-scanners

You can check other pages here: https://sh-cho.github.io/tree-sitter/

I only highlighted <code> inside #main-content except <code> inside <a> or <pre> tag.

@amaanq
Copy link
Member

amaanq commented Feb 24, 2024

this is really nice, sorry for not getting to this sooner. thank you!

@amaanq amaanq merged commit 80006d2 into tree-sitter:master Feb 24, 2024
@sh-cho sh-cho deleted the inline-code-style branch February 25, 2024 04:04
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.

None yet

2 participants