automated terminal push

This commit is contained in:
2025-06-05 07:33:41 -04:00
parent 19decb39cc
commit 1cb989b04d
619 changed files with 10585 additions and 0 deletions

12
docs/assets/js/video.js Executable file
View File

@@ -0,0 +1,12 @@
gitbook.events.bind("page.change", function() {
let videos = $(".video-player");
for (let video of videos) {
let videoText = video.innerText;
let regex = /watch\?v=([a-zA-Z0-9_-]+)?/g;
let matches = regex.exec(videoText) || [''];
let videoId = matches[1];
let iframe = "<iframe src='https://www.youtube.com/embed/" +
videoId + "' frameborder='0' allowfullscreen>";
$(video).html(iframe);
}
});