diff --git a/docs/index.html b/docs/index.html index 22c0a2d..b69ad13 100644 --- a/docs/index.html +++ b/docs/index.html @@ -62,22 +62,22 @@

Write down thoughts. Fast.

The digital notebook for developers, and makers. Ultra fast fuzzy search. Mouse or Keyboard only navigation. Pure markdown with auto formatting and indentation. Offline.

-
+
-
-
-
-
-
+
+
diff --git a/docs/index.js b/docs/index.js index 5f90d9b..c6648d6 100644 --- a/docs/index.js +++ b/docs/index.js @@ -1,2 +1,2 @@ -"use strict";(()=>{console.log("lemon loading");var a={};window.onClickLightDark=function(){console.log("onClickLightDark"),document.documentElement.classList.toggle("dark")};window.selectOnChange=function(e){console.log(e),console.log(e.target),console.log(e.target.value),console.log(e.target.attributes["data-var"].value),console.log(JSON.parse(e.target.value));let o=e.target.attributes["data-var"].value,n=JSON.parse(e.target.value);a[o]=n};window.onload=function(){document.querySelectorAll("select").forEach(function(o){let n=o.attributes["data-var"].value,t=JSON.parse(o.value);a[n]=t,console.log(n),console.log(t)})};window.buttonLink=function(e=""){let o=r(e);window.open(o,"_blank")};function r(e){let o=/\$var\(([^)]+)\)/g;return e.replace(o,function(t,l){let c=s(a,l);return c!==void 0?c:t})}function s(e,o){let n=o.split("."),t=e;for(let l=0;l{console.log("lemon loading");var a={};window.onClickLightDark=function(){console.log("onClickLightDark"),document.documentElement.classList.toggle("dark")};window.selectOnChange=function(e){console.log(e),console.log(e.target),console.log(e.target.value),console.log(e.target.attributes["data-var"].value),console.log(JSON.parse(e.target.value));let o=e.target.attributes["data-var"].value,n=JSON.parse(e.target.value);a[o]=n};window.onload=function(){document.querySelectorAll("select").forEach(function(o){let n=o.attributes["data-var"].value,t=JSON.parse(o.value);a[n]=t,console.log(n),console.log(t)})};window.buttonLink=function(e=""){let o=r(e);window.open(o,"_blank")};function r(e){let o=/\$var\(([^)]+)\)/g;return e.replace(o,function(t,l){let c=s(a,l);return c!==void 0?c:""})}function s(e,o){let n=o.split("."),t=e;for(let l=0;l