From ae0525c25ba7c00ec688c5006a931ce68485d366 Mon Sep 17 00:00:00 2001 From: xAlpharax <42233094+xAlpharax@users.noreply.github.com> Date: Thu, 26 Sep 2024 03:35:41 +0300 Subject: A lot of good changes, my site looks like my rice X11 DWM now. Changes to be committed: modified: config.toml modified: content/about.md modified: content/posts/code_test.md modified: content/posts/some_cool_stuff.md modified: sass/_normalize.scss modified: sass/_predefined.scss deleted: sass/_syntax.scss modified: sass/style.scss new file: static/auto-render.min.js modified: static/browserconfig.xml new file: static/fonts/KaTeX_AMS-Regular.ttf new file: static/fonts/KaTeX_AMS-Regular.woff new file: static/fonts/KaTeX_AMS-Regular.woff2 new file: static/fonts/KaTeX_Caligraphic-Bold.ttf new file: static/fonts/KaTeX_Caligraphic-Bold.woff new file: static/fonts/KaTeX_Caligraphic-Bold.woff2 new file: static/fonts/KaTeX_Caligraphic-Regular.ttf new file: static/fonts/KaTeX_Caligraphic-Regular.woff new file: static/fonts/KaTeX_Caligraphic-Regular.woff2 new file: static/fonts/KaTeX_Fraktur-Bold.ttf new file: static/fonts/KaTeX_Fraktur-Bold.woff new file: static/fonts/KaTeX_Fraktur-Bold.woff2 new file: static/fonts/KaTeX_Fraktur-Regular.ttf new file: static/fonts/KaTeX_Fraktur-Regular.woff new file: static/fonts/KaTeX_Fraktur-Regular.woff2 new file: static/fonts/KaTeX_Main-Bold.ttf new file: static/fonts/KaTeX_Main-Bold.woff new file: static/fonts/KaTeX_Main-Bold.woff2 new file: static/fonts/KaTeX_Main-BoldItalic.ttf new file: static/fonts/KaTeX_Main-BoldItalic.woff new file: static/fonts/KaTeX_Main-BoldItalic.woff2 new file: static/fonts/KaTeX_Main-Italic.ttf new file: static/fonts/KaTeX_Main-Italic.woff new file: static/fonts/KaTeX_Main-Italic.woff2 new file: static/fonts/KaTeX_Main-Regular.ttf new file: static/fonts/KaTeX_Main-Regular.woff new file: static/fonts/KaTeX_Main-Regular.woff2 new file: static/fonts/KaTeX_Math-BoldItalic.ttf new file: static/fonts/KaTeX_Math-BoldItalic.woff new file: static/fonts/KaTeX_Math-BoldItalic.woff2 new file: static/fonts/KaTeX_Math-Italic.ttf new file: static/fonts/KaTeX_Math-Italic.woff new file: static/fonts/KaTeX_Math-Italic.woff2 new file: static/fonts/KaTeX_SansSerif-Bold.ttf new file: static/fonts/KaTeX_SansSerif-Bold.woff new file: static/fonts/KaTeX_SansSerif-Bold.woff2 new file: static/fonts/KaTeX_SansSerif-Italic.ttf new file: static/fonts/KaTeX_SansSerif-Italic.woff new file: static/fonts/KaTeX_SansSerif-Italic.woff2 new file: static/fonts/KaTeX_SansSerif-Regular.ttf new file: static/fonts/KaTeX_SansSerif-Regular.woff new file: static/fonts/KaTeX_SansSerif-Regular.woff2 new file: static/fonts/KaTeX_Script-Regular.ttf new file: static/fonts/KaTeX_Script-Regular.woff new file: static/fonts/KaTeX_Script-Regular.woff2 new file: static/fonts/KaTeX_Size1-Regular.ttf new file: static/fonts/KaTeX_Size1-Regular.woff new file: static/fonts/KaTeX_Size1-Regular.woff2 new file: static/fonts/KaTeX_Size2-Regular.ttf new file: static/fonts/KaTeX_Size2-Regular.woff new file: static/fonts/KaTeX_Size2-Regular.woff2 new file: static/fonts/KaTeX_Size3-Regular.ttf new file: static/fonts/KaTeX_Size3-Regular.woff new file: static/fonts/KaTeX_Size3-Regular.woff2 new file: static/fonts/KaTeX_Size4-Regular.ttf new file: static/fonts/KaTeX_Size4-Regular.woff new file: static/fonts/KaTeX_Size4-Regular.woff2 new file: static/fonts/KaTeX_Typewriter-Regular.ttf new file: static/fonts/KaTeX_Typewriter-Regular.woff new file: static/fonts/KaTeX_Typewriter-Regular.woff2 new file: static/katex.min.css new file: static/katex.min.js modified: templates/404.html modified: templates/index.html modified: templates/macros.html modified: templates/page.html modified: templates/section.html modified: templates/shortcodes/youtube.html modified: templates/tags/list.html modified: templates/tags/single.html --- static/auto-render.min.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 static/auto-render.min.js (limited to 'static/auto-render.min.js') diff --git a/static/auto-render.min.js b/static/auto-render.min.js new file mode 100644 index 0000000..46d62af --- /dev/null +++ b/static/auto-render.min.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("katex")):"function"==typeof define&&define.amd?define(["katex"],t):"object"==typeof exports?exports.renderMathInElement=t(require("katex")):e.renderMathInElement=t(e.katex)}("undefined"!=typeof self?self:this,(function(e){return function(){"use strict";var t={771:function(t){t.exports=e}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}};return t[e](i,i.exports,r),i.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};var o={};return function(){r.d(o,{default:function(){return d}});var e=r(771),t=r.n(e);const n=function(e,t,n){let r=n,o=0;const i=e.length;for(;re.left.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"))).join("|")+")");for(;r=e.search(a),-1!==r;){r>0&&(o.push({type:"text",data:e.slice(0,r)}),e=e.slice(r));const a=t.findIndex((t=>e.startsWith(t.left)));if(r=n(t[a].right,e,t[a].left.length),-1===r)break;const l=e.slice(0,r+t[a].right.length),s=i.test(l)?l:e.slice(t[a].left.length,r);o.push({type:"math",data:s,rawData:l,display:t[a].display}),e=e.slice(r+t[a].right.length)}return""!==e&&o.push({type:"text",data:e}),o};const l=function(e,n){const r=a(e,n.delimiters);if(1===r.length&&"text"===r[0].type)return null;const o=document.createDocumentFragment();for(let e=0;e-1===e.indexOf(" "+t+" ")))&&s(r,t)}}};var d=function(e,t){if(!e)throw new Error("No element provided to render");const n={};for(const e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);n.delimiters=n.delimiters||[{left:"$$",right:"$$",display:!0},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}],n.ignoredTags=n.ignoredTags||["script","noscript","style","textarea","pre","code","option"],n.ignoredClasses=n.ignoredClasses||[],n.errorCallback=n.errorCallback||console.error,n.macros=n.macros||{},s(e,n)}}(),o=o.default}()})); \ No newline at end of file -- cgit v1.2.3