From d36c2e459a74ec67e523539eb98b78b95b01432a Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 16 Apr 2025 11:20:43 -0300 Subject: src/content/: Normalize [source,$lang] code blocks --- src/content/tils/2021/08/11/js-bigint-reviver.adoc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/content/tils/2021/08/11/js-bigint-reviver.adoc') diff --git a/src/content/tils/2021/08/11/js-bigint-reviver.adoc b/src/content/tils/2021/08/11/js-bigint-reviver.adoc index f7dd3de..98ee79b 100644 --- a/src/content/tils/2021/08/11/js-bigint-reviver.adoc +++ b/src/content/tils/2021/08/11/js-bigint-reviver.adoc @@ -65,7 +65,8 @@ console.log(typeof parsed[7]["a-bigint"]) The output of the above is: -.... +[source,javascript] +---- [ null, true, @@ -79,7 +80,7 @@ The output of the above is: [null,true,false,-1,3.14,"a string",{"a-number":"-123"},{"a-bigint":"-123n"}] string bigint -.... +---- If you're on a web browser, you can probably try copying and pasting the above code on the console right now, as is. -- cgit v1.2.3