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

[easy issue] mark up all code examples as javascript code blocks #4

Open
yochannah opened this issue Aug 8, 2019 · 3 comments

Comments

@yochannah
Copy link
Member

commented Aug 8, 2019

In this repository we have several markdown files with examples in code blocks, denoted by three backticks in the code. These examples are all javascript, so it would be nice to enable syntax highlighting by specifying that the examples are javascript.

example

someJavascriptFunction(function() {
  var thingy = 12;
});

vs

someJavascriptFunction(function() {
  var thingy = 12;
});
@yochannah

This comment has been minimized.

Copy link
Member Author

commented Aug 8, 2019

for guidance on how to enable the syntax highlighting, see the code block in the examples on the github markdown guide: https://guides.github.com/features/mastering-markdown/#examples

@vilian

This comment has been minimized.

Copy link

commented Aug 9, 2019

Hello! What a great opportunity! Can I do it?

@yochannah

This comment has been minimized.

Copy link
Member Author

commented Aug 10, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.