-
Notifications
You must be signed in to change notification settings - Fork 52
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
Switch all code blocks to use valid Code Hike languages #815
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Separately, we may want to highlight the available Code Hike annotation features in the blog authoring docs. Some handy capability in there. Created as #825. |
Updating Code Hike to 0.9.0 addresses the Note the capital Is something transforming the For an example in code, see the Ruby-XND post |
Here's one example |
Looking at those screenshots I added, jeez we really need to fix the color contrast of our syntax highlighter 🙈 |
From my local build:
It looks like there's a page somewhere that defines a code block with capital- |
Mostly changing variations of `python` to `python` or `py`.
This addresses the `rst not valid language` complaint, but it's still complaining about `C`. The capital `C` may be important here -- is something transforming the ```c lines to ```C?
4825eec
to
1c14f59
Compare
@gabalafou Third-party theme, here's point of import. Created as #824. |
I'm suspecting that the unexplained Thus, I'm reasonably confident that this issue has been fixed for all code blocks actually showing code on the site, and the PR is ready for review. Attn @gabalafou. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this!
Code Hike code block docs
python
(orpy
)cpp
Not sure why we're getting errors for
c
andrst
, as both of those are declared as supported.Perhaps we need to update Code Hike?