From 0a210dc434fe1658f328d493064a8f08829b8925 Mon Sep 17 00:00:00 2001 From: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com> Date: Mon, 21 Jun 2021 15:37:32 +0700 Subject: [PATCH] docs: enable syntax highlighting to a code block (#11594) --- docs/JestObjectAPI.md | 2 +- website/versioned_docs/version-25.x/JestObjectAPI.md | 2 +- website/versioned_docs/version-26.x/JestObjectAPI.md | 2 +- website/versioned_docs/version-27.0/JestObjectAPI.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/JestObjectAPI.md b/docs/JestObjectAPI.md index a7b45df77980..1bccfdd2425b 100644 --- a/docs/JestObjectAPI.md +++ b/docs/JestObjectAPI.md @@ -147,7 +147,7 @@ Creates a new property with the same primitive value as the original property. Example: -``` +```js // example.js module.exports = { function: function square(a, b) { diff --git a/website/versioned_docs/version-25.x/JestObjectAPI.md b/website/versioned_docs/version-25.x/JestObjectAPI.md index ef778313e6e8..043d51db4be8 100644 --- a/website/versioned_docs/version-25.x/JestObjectAPI.md +++ b/website/versioned_docs/version-25.x/JestObjectAPI.md @@ -143,7 +143,7 @@ Creates a new property with the same primitive value as the original property. Example: -``` +```js // example.js module.exports = { function: function square(a, b) { diff --git a/website/versioned_docs/version-26.x/JestObjectAPI.md b/website/versioned_docs/version-26.x/JestObjectAPI.md index 8a2093ed2e57..113b07bdc992 100644 --- a/website/versioned_docs/version-26.x/JestObjectAPI.md +++ b/website/versioned_docs/version-26.x/JestObjectAPI.md @@ -147,7 +147,7 @@ Creates a new property with the same primitive value as the original property. Example: -``` +```js // example.js module.exports = { function: function square(a, b) { diff --git a/website/versioned_docs/version-27.0/JestObjectAPI.md b/website/versioned_docs/version-27.0/JestObjectAPI.md index a7b45df77980..1bccfdd2425b 100644 --- a/website/versioned_docs/version-27.0/JestObjectAPI.md +++ b/website/versioned_docs/version-27.0/JestObjectAPI.md @@ -147,7 +147,7 @@ Creates a new property with the same primitive value as the original property. Example: -``` +```js // example.js module.exports = { function: function square(a, b) {