From 6a03399aa3eda91f491e7793f36e2e7246c4af5e Mon Sep 17 00:00:00 2001
From: "Michael E. Kupietz" <26891995+kupietools@users.noreply.github.com>
Date: Sun, 15 Oct 2023 20:50:12 -0400
Subject: [PATCH 1/2] Update embed-v2.js
Added optional "collapsible" attribute. Collapsible=open or collapsible=closed will wrap the embedded file with [file title]
[file contents, as normal]
---
embed-v2.js | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/embed-v2.js b/embed-v2.js
index 57bc797..6030a49 100644
--- a/embed-v2.js
+++ b/embed-v2.js
@@ -10,6 +10,8 @@
const showBorder = params.get("showBorder") === "on";
const showLineNumbers = params.get("showLineNumbers") === "on";
const showFileMeta = params.get("showFileMeta") === "on";
+ const collapsible = params.get("collapsible") === "open" || params.get("collapsible") === "closed";
+ const collapsibleOpen = params.get("collapsible") === "open";
const showFullPath = params.get("showFullPath") === "on";
const showCopy = params.get("showCopy") === "on";
const fetchFromJsDelivr = params.get("fetchFromJsDelivr") === "on";
@@ -299,6 +301,10 @@
From ce0ba6c3e92ab1cb1f325d9b14eea95cf12ed792 Mon Sep 17 00:00:00 2001
From: Kupietz Consulting <26891995+kupietools@users.noreply.github.com>
Date: Fri, 27 Sep 2024 20:17:55 -0400
Subject: [PATCH 2/2] Update README.md
Include info on difference from upstream version
---
README.md | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 84a0230..0152e1d 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# emgithub
+# emgithub original info
https://emgithub.com/
@@ -8,6 +8,10 @@ Demo: (scroll to the bottom of

+## This fork - "collapsible"
+
+This fork allows you to add a parameter "Collapsible" to the script call, that wraps the displayed script output in `...
... ` tags.
+
## Get started
There are two ways to use the service: