Skip to content

Conversation

@SEWeiTung
Copy link
Contributor

@SEWeiTung SEWeiTung commented Jan 24, 2020

  1. Fixtures for some typos.
  2. Add 'console' for some console codes to enhance the formation.
  3. Add some backquotes onto some methods.

1. Fixtures for some typos.
2. Add 'bash' for some console codes to enhance the formation.
3. Add some backquotes onto some methods.
4. For Buffer, we have a outdated (obsolated) method before v8.0.0, we
refer it for historical reason with some warning messages.
@SEWeiTung SEWeiTung requested a review from XhmikosR January 24, 2020 07:53
Add missing comments
@SEWeiTung SEWeiTung changed the title fixtures some typos and enhance the knowledge files fixtures some typos and enhance 'advanced' knowledge files Jan 24, 2020
@SEWeiTung SEWeiTung requested a review from a team January 24, 2020 08:35
@XhmikosR XhmikosR changed the title fixtures some typos and enhance 'advanced' knowledge files fix some typos and enhance 'advanced' knowledge files Jan 24, 2020
@Trott
Copy link
Member

Trott commented Jan 26, 2020

If this PR stalls at some point, it would be good to get a PR that just gets rid of the new Buffer() examples. That would likely be approved and merged very quickly.

@SEWeiTung
Copy link
Contributor Author

If this PR stalls at some point, it would be good to get a PR that just gets rid of the new Buffer() examples. That would likely be approved and merged very quickly.

Agreed, so my change updated 'new Buffer' to 'Buffer.alloc'.

Copy link
Member

@nschonni nschonni left a comment

Choose a reason for hiding this comment

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

Might be good to squash and fix the commit message when landing

@SEWeiTung SEWeiTung merged commit 6407120 into nodejs:master Jan 29, 2020
@SEWeiTung SEWeiTung deleted the FixTypos branch January 29, 2020 03:29
@XhmikosR
Copy link
Contributor

This shouldn't have landed with console as a syntax highlighting language. It's unknown to prism.js thus it leads to wrong highlighting.

I'll make a PR to remove it.

@XhmikosR
Copy link
Contributor

We really need PR previews. Also this was sort of showing in the CI build, but it didn't mark it as failed: https://github.com/nodejs/nodejs.org/runs/414306542#step:8:31

We might need to fork metalsmith-prism since the package is archived.

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.

4 participants