-
Notifications
You must be signed in to change notification settings - Fork 61.2k
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
chore: Add missing code fence languages #772
Conversation
b844a47
to
5ba67b3
Compare
👋 @nschonni Thanks for opening a PR! Is this still in progress? When you're ready for review, can you fill out the pull request template and let me know? Then I'll get it triaged for you! |
@janiceilene I've checked the checkboxes now |
@nschonni Could you fill out the Why? and What's being changed: sections to help ensure that this is triaged to the right team(s) for review, thanks! |
@janiceilene done |
@janiceilene I think this should be reviewed by someone on the content team! Looks good to me! But with it being a bunch of content changes, I'll defer. |
Thanks @chiedo! I'll triage it for a writer review. |
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.
@nschonni I've reviewed the first 13 files in the PR and there are a couple of instances where the code fence removes some information, particularly information in brackets. Can take a look at those instances and any other instances that might be affected and make the appropriate fix? Then I can take a look at this again. 🙏 💚
content/actions/creating-actions/setting-exit-codes-for-actions.md
Outdated
Show resolved
Hide resolved
content/admin/enterprise-management/evacuating-a-cluster-node.md
Outdated
Show resolved
Hide resolved
This PR is stale because it has been open 7 days with no activity and will be automatically closed in 3 days. To keep this PR open, update the PR by adding a comment or pushing a commit. |
Go away stale bot |
Coming soon! #1386 |
5ba67b3
to
e8a7ce2
Compare
content/actions/creating-actions/dockerfile-support-for-github-actions.md
Outdated
Show resolved
Hide resolved
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.
A little investigation needed here before we can merge this. The |
@hubwriter I'd say that we could just remove the language from the code examples that aren't rendering properly and we can file an issue for any that we can look into the cause for later. I'm not sure when we'll have time to investigate the cause and file an issue with the upstream library, but at least we can ship the updates that are working for us now. |
to avoid the problem of replaceable text indicates like <this> not showing up in the output page.
I've removed the language from the opening code fence where the code wasn't rendering properly on the output page. |
5e92c05
to
de3a287
Compare
@nschonni - Thanks again for working on this. Apologies it's taken us so long to get it merged. |
Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours. |
* Add OOM killer info * Move OOM killer to new memory mgmt section & edit * postgres -> postgresql * Apply suggestions from code review Co-authored-by: Charis <26616127+charislam@users.noreply.github.com> * Update cloud/memory-management.md Co-authored-by: Jacob Prall <prall.jacob@gmail.com> Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Why:
Adding the language to the code fences adds syntax highlighting to the samples making them easier to read and can sometimes show syntax errors. The languages can also allow other tools like ESLint/Prettier to format those blocks if they know how to handle them based on the language
What's being changed:
Adding the code languages that are supported by the current syntax highlight library
Check off the following: