From 95d2e4419b018b7b4ab08033dbeb503a982e3758 Mon Sep 17 00:00:00 2001 From: Ian Kerins Date: Tue, 19 Dec 2023 16:22:53 -0500 Subject: [PATCH 1/4] Remove bash tags from the console API tutorial This output certainly isn't bash, but is labeled and highlighted as such in the rendered doc. Seems best to remove it. --- files/en-us/web/api/console/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/en-us/web/api/console/index.md b/files/en-us/web/api/console/index.md index 666c264d12e7470..867acbf13ed3de9 100644 --- a/files/en-us/web/api/console/index.md +++ b/files/en-us/web/api/console/index.md @@ -89,7 +89,7 @@ console.log(someObject); The output looks something like this: -```bash +``` {str:"Some text", id:5} ``` @@ -105,7 +105,7 @@ console.info("My first car was a", car, ". The object is:", someObject); The output will look like this: -```bash +``` My first car was a Dodge Charger. The object is: {str:"Some text", id:5} ``` From b8fdcfb44a3b113af5c0d38e3f15522937088f55 Mon Sep 17 00:00:00 2001 From: Ian Kerins Date: Tue, 19 Dec 2023 16:34:48 -0500 Subject: [PATCH 2/4] Change to text, as a language is required --- files/en-us/web/api/console/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/en-us/web/api/console/index.md b/files/en-us/web/api/console/index.md index 867acbf13ed3de9..aa725c0f5425ad0 100644 --- a/files/en-us/web/api/console/index.md +++ b/files/en-us/web/api/console/index.md @@ -89,7 +89,7 @@ console.log(someObject); The output looks something like this: -``` +```text {str:"Some text", id:5} ``` @@ -105,7 +105,7 @@ console.info("My first car was a", car, ". The object is:", someObject); The output will look like this: -``` +```text My first car was a Dodge Charger. The object is: {str:"Some text", id:5} ``` From 5022f729a41cca3b1a5b380daf622b22b0677483 Mon Sep 17 00:00:00 2001 From: Ian Kerins Date: Wed, 20 Dec 2023 02:29:52 +0000 Subject: [PATCH 3/4] Update files/en-us/web/api/console/index.md Co-authored-by: wbamberg --- files/en-us/web/api/console/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/api/console/index.md b/files/en-us/web/api/console/index.md index aa725c0f5425ad0..e2039a9048458b9 100644 --- a/files/en-us/web/api/console/index.md +++ b/files/en-us/web/api/console/index.md @@ -89,7 +89,7 @@ console.log(someObject); The output looks something like this: -```text +```plain {str:"Some text", id:5} ``` From 394c845fdd6a0cfcfb13a53a1563cd209d73933b Mon Sep 17 00:00:00 2001 From: Ian Kerins Date: Wed, 20 Dec 2023 02:30:04 +0000 Subject: [PATCH 4/4] Update files/en-us/web/api/console/index.md Co-authored-by: wbamberg --- files/en-us/web/api/console/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/api/console/index.md b/files/en-us/web/api/console/index.md index e2039a9048458b9..d253165d482496d 100644 --- a/files/en-us/web/api/console/index.md +++ b/files/en-us/web/api/console/index.md @@ -105,7 +105,7 @@ console.info("My first car was a", car, ". The object is:", someObject); The output will look like this: -```text +```plain My first car was a Dodge Charger. The object is: {str:"Some text", id:5} ```