From e4d6bfd4c0d4b4674d223392ad0d36b3324bdffb Mon Sep 17 00:00:00 2001 From: David Camp Date: Fri, 21 Jul 2023 20:21:45 -0700 Subject: [PATCH 1/3] Add MD Codeblock option --- assets/js/script.js | 5 +++++ index.html | 1 + 2 files changed, 6 insertions(+) diff --git a/assets/js/script.js b/assets/js/script.js index 28b289f..bfc0b0f 100644 --- a/assets/js/script.js +++ b/assets/js/script.js @@ -181,6 +181,11 @@ function createTable() { prefix = "|"; suffix = "|"; break; + case "codeblock": + // MD Codeblock + commentbefore = "```"; + commentafter = "```"; + break; default: break; } diff --git a/index.html b/index.html index 4f4ca81..2d34921 100644 --- a/index.html +++ b/index.html @@ -110,6 +110,7 @@

Input

+ From f32b357052a362223178a9f9e3e25bebc136b44c Mon Sep 17 00:00:00 2001 From: David Camp Date: Sat, 22 Jul 2023 17:53:46 -0700 Subject: [PATCH 2/3] Update assets/js/script.js Co-authored-by: Waldir Pimenta --- assets/js/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/script.js b/assets/js/script.js index bfc0b0f..ae58b27 100644 --- a/assets/js/script.js +++ b/assets/js/script.js @@ -182,7 +182,7 @@ function createTable() { suffix = "|"; break; case "codeblock": - // MD Codeblock + // Markdown code block commentbefore = "```"; commentafter = "```"; break; From b82462a67e57acdf51cb2cc2350e9f2328d0d039 Mon Sep 17 00:00:00 2001 From: David Camp Date: Sat, 22 Jul 2023 17:53:55 -0700 Subject: [PATCH 3/3] Update index.html Co-authored-by: Waldir Pimenta --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 2d34921..5e6d8b8 100644 --- a/index.html +++ b/index.html @@ -110,7 +110,7 @@

Input

- +