155 lines
399 KiB
HTML
155 lines
399 KiB
HTML
|
<!DOCTYPE html>
|
|||
|
<html><head><title>2023 年终总结</title><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><meta property="og:title" content="2023 年终总结"/><meta property="og:description" content="2023 年终总结."/><meta property="og:image" content="https://wiki.7wate.com/static/og-image.png"/><meta property="og:width" content="1200"/><meta property="og:height" content="675"/><link rel="icon" href="../static/icon.png"/><meta name="description" content="2023 年终总结."/><meta name="generator" content="Quartz"/><link rel="preconnect" href="https://fonts.googleapis.com"/><link rel="preconnect" href="https://fonts.gstatic.com"/><script async src="https://umami.7wate.com/script.js" data-website-id="c061efdc-95dd-4d21-9d04-a1ffda0a85b9"></script><script>
|
|||
|
var _hmt = _hmt || [];
|
|||
|
(function() {
|
|||
|
var hm = document.createElement("script");
|
|||
|
hm.src = "https://hm.baidu.com/hm.js?94d8ccb156eb7c65abf317e6e01cdba9";
|
|||
|
var s = document.getElementsByTagName("script")[0];
|
|||
|
s.parentNode.insertBefore(hm, s);
|
|||
|
})();
|
|||
|
</script><script async src="https://www.googletagmanager.com/gtag/js?id=G-MHMEL0F832"></script><script>
|
|||
|
(function() {
|
|||
|
window.dataLayer = window.dataLayer || [];
|
|||
|
function gtag() {
|
|||
|
window.dataLayer.push(arguments);
|
|||
|
}
|
|||
|
gtag('js', new Date());
|
|||
|
gtag('config', 'G-MHMEL0F832');
|
|||
|
})();
|
|||
|
</script><link href="../index.css" rel="stylesheet" type="text/css" spa-preserve/><link href="https://cdn.jsdelivr.net/npm/katex@0.16.0/dist/katex.min.css" rel="stylesheet" type="text/css" spa-preserve/><link href="https://fonts.googleapis.com/css2?family=IBM Plex Mono&family=Schibsted Grotesk:wght@400;700&family=Source Sans Pro:ital,wght@0,400;0,600;1,400;1,600&display=swap" rel="stylesheet" type="text/css" spa-preserve/><script src="../prescript.js" type="application/javascript" spa-preserve></script><script type="application/javascript" spa-preserve>const fetchData = fetch(`../static/contentIndex.json`).then(data => data.json())</script></head><body data-slug="Blog/回顾-2023"><div id="quartz-root" class="page"><div id="quartz-body"><div class="left sidebar"><h1 class="page-title "><a href="..">📚 X·Eden</a></h1><div class="spacer mobile-only"></div><div class="search "><div id="search-icon"><p>Search</p><div></div><svg tabIndex="0" aria-labelledby="title desc" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.9 19.7"><title id="title">Search</title><desc id="desc">Search</desc><g class="search-path" fill="none"><path stroke-linecap="square" d="M18.5 18.3l-5.4-5.4"></path><circle cx="8" cy="8" r="7"></circle></g></svg></div><div id="search-container"><div id="search-space"><input autocomplete="off" id="search-bar" name="search" type="text" aria-label="Search for something" placeholder="Search for something"/><div id="results-container"></div></div></div></div><div class="darkmode "><input class="toggle" id="darkmode-toggle" type="checkbox" tabIndex="-1"/><label id="toggle-label-light" for="darkmode-toggle" tabIndex="-1"><svg xmlns="http://www.w3.org/2000/svg" xmlnsXlink="http://www.w3.org/1999/xlink" version="1.1" id="dayIcon" x="0px" y="0px" viewBox="0 0 35 35" style="enable-background:new 0 0 35 35;" xmlSpace="preserve"><title>Light mode</title><path d="M6,17.5C6,16.672,5.328,16,4.5,16h-3C0.672,16,0,16.672,0,17.5 S0.672,19,1.5,19h3C5.328,19,6,18.328,6,17.5z M7.5,26c-0.414,0-0.789,0.168-1.061,0.439l-2,2C4.168,28.711,4,29.086,4,29.5 C4,30.328,4.671,31,5.5,31c0.414,0,0.789-0.168,1.06-0.44l2-2C8.832,28.289,9,27.914,9,27.5C9,26.672,8.329,26,7.5,26z M17.5,6 C18.329,6,19,5.328,19,4.5v-3C19,0.672,18.329,0,17.5,0S16,0.672,16,1.5v3C16,5.328,16.671,6,17.5,6z M27.5,9 c0.414,0,0.789-0.168,1.06-0.439l2-2C30.832,6.289,31,5.914,31,5.5C31,4.672,30.329,4,29.5,4c-0.414,0-0.789,0.168-1.061,0.44 l-2,2C26.168,6.711,26,7.086,26,7.5C26,8.328,26.671,9,27.5,9z M6.439,8.561C6.711,8.832,7.086,9,7.5,9C8.328,9,9,8.328,9,7.5 c0-0.414-0.168-0.789-0.439-1.061l-2-2C6.289,4.168,5.914,4,5.5,4C4.672,4,4,4.672,4,5.5c0,0.414,0.168,0.789,0.439,1.06 L6.439,8.561z M33.5,16h-3c-0.828,0-1.5,0.672-1.5,1.5s0.672,1.5,1.5,1.5h3c0.828,0,1.5-0.672,1.5-1.5S34.328,16,33.5,16z M28.561,26.439C28.289,26.168,27.914,26,27.5,26c-0.828,0-1.5,0.672-1.5,1.5c0,0.414,0.168,0.789,0.439,1.06l2,2 C28.711,30.832,29.086,31,29.5,31c0.828,0,1.5-0.672,1.5-1.5c0-0.414-0.168-0.789-0.439-1.061L28.561,26.439z M17.5,29 c-0.829,0-1.5,0.672-1.5,1.5v3c0,0.828,0.671,1.5,1.5,1.5s1.5-0.672,1.5-1.5v-3C19,29.672,18.329,29,17.5,29z M17.5,7 C11.71,7,7,11.71,7,17.5S11.71,28,17.5,28S28,23.29,28,17.5S23.29,7,17.5,7z M17.5,25c-4.136,0-7.5-3.364-7.5-7.5 c0-4.136,3.364-7.5,7.5-7.5c4.136,0,7.5,3.364,7.5,7.5C25,21.636,21.636,25,17.5,25z"></path></svg></label><label id="toggle-label-dark" for="darkmode-toggle" tabIndex="-1"><svg xmlns="http://www.w3.org/2000/svg" xmlnsXlink="http://www.w3.org/1999/xlink" version="1.1" id="nightIcon" x="0px" y="0px" viewBox="0 0 100 100" style="enable-background='new 0 0 100 100'" xmlSpace="preserve"><title>Dark mode</title><path d="M96.76,66.458c-0.853-0.852-2.15-1.064-3.23-0.534c-6.063,2.991-12.858,4.571-19.655,4.571 C62.022,70.495,50.88,65.88,42.5,57.5C29.043,44.043,25.658,23.536,34.076,6.47c0.532-1.08,0.318-2.379-0.534-3.23 c-0.851-0.852-2.15-1.064-3.23-0.534c-4.918,2.427-9.375,5.619-13.246,9.491c-9.447,9.447-14.65,22.008-14.65,35.369 c0,13.36,5.203,25.921,14.65,35.368s22.008,14.65,35.368,14.65c13
|
|||
|
<ul>
|
|||
|
<li>
|
|||
|
<p>2021 年度目标完成度:80%</p>
|
|||
|
</li>
|
|||
|
<li>
|
|||
|
<p>2022 年度目标完成度:60%</p>
|
|||
|
</li>
|
|||
|
<li>
|
|||
|
<p>2023 年度虽未设立具体目标,但有明确方向,自评 60 分,勉强算是及格。</p>
|
|||
|
</li>
|
|||
|
</ul>
|
|||
|
<p>关于 2023 年没有设立具体目标的原因,主要是因为以往年度目标的打脸,以及不可预测的因素实在太多。因此,从 2023 年开始,我选择设定大方向,努力前进,顺其自然。</p>
|
|||
|
<h2 id="可量化部分">可量化部分<a aria-hidden="true" tabindex="-1" href="#可量化部分" class="internal"> §</a></h2>
|
|||
|
<p>2023 年的一些可量化成果如下:</p>
|
|||
|
<ul>
|
|||
|
<li>
|
|||
|
<p>微信读书 213 小时,阅读完成 50 本书,做了 1921 条笔记。</p>
|
|||
|
</li>
|
|||
|
<li>
|
|||
|
<p>发布博客 30 篇,月访问量超过 1000;维基文章累计 20+ 万字,月访问量同样超过 1000。</p>
|
|||
|
</li>
|
|||
|
<li>
|
|||
|
<p>贡献了 2 个开源项目,获得了 100+ 的星标。</p>
|
|||
|
</li>
|
|||
|
<li>
|
|||
|
<p>去了 10 多个城市。</p>
|
|||
|
</li>
|
|||
|
</ul>
|
|||
|
<h2 id="不可量化部分">不可量化部分<a aria-hidden="true" tabindex="-1" href="#不可量化部分" class="internal"> §</a></h2>
|
|||
|
<p>2023 年不可量化的部分主要涉及工作、生活和健康等方面,我还是喜欢按照春夏秋冬四季来回顾。</p>
|
|||
|
<h2 id="春">春<a aria-hidden="true" tabindex="-1" href="#春" class="internal"> §</a></h2>
|
|||
|
<p>新年过后,我的川西环线之旅非常难忘。回来后,工作和学习的实际进展一般。</p>
|
|||
|
<p>这期间表哥结婚了、爷爷生病住院。其中爷爷生病期间一系列的骚操作再次刷新了我的认知,糟老头子坏得很!</p>
|
|||
|
<p>可谓生活琐事磨人心~</p>
|
|||
|
<h2 id="夏">夏<a aria-hidden="true" tabindex="-1" href="#夏" class="internal"> §</a></h2>
|
|||
|
<p>初夏时,去了安徽黄山一趟,然后参加了姐姐在福建的婚礼。</p>
|
|||
|
<p>那段时间,我坚持的生活习惯,如早睡早起、健康饮食、持续锻炼和冥想,让我身心达到了一个新的高度。工作,学习效率特别高,情绪也嘎嘎稳定。</p>
|
|||
|
<h2 id="秋">秋<a aria-hidden="true" tabindex="-1" href="#秋" class="internal"> §</a></h2>
|
|||
|
<p>秋天去了焦作云台山,登封少林寺,然后我们又一起去杭州看望姐姐。</p>
|
|||
|
<p>秋天整个人都是闷闷呼呼的,不知道是不是因为绿茶喝多了,导致脾胃变得更虚弱了。还是久思伤脾,久坐伤胃?</p>
|
|||
|
<p>秋天整体状态不如夏天,然后感觉身体状态有所下滑,换季导致的呼吸道疾病多发,虽然对我影响不大,但还是感到有些不适。</p>
|
|||
|
<h2 id="冬">冬<a aria-hidden="true" tabindex="-1" href="#冬" class="internal"> §</a></h2>
|
|||
|
<p>冬天参加了大学室友的婚礼,并协助朋友规划了一些公司上的具体事务。期间乱七八糟的事情蛮多,学习也搁置了。</p>
|
|||
|
<p>年末,终于去了对象家里拜访父母,整体感觉顺利,为 2023 年画上了一个圆满的句号。</p>
|
|||
|
<h2 id="健康">健康<a aria-hidden="true" tabindex="-1" href="#健康" class="internal"> §</a></h2>
|
|||
|
<p>健康始终都是第一位,今年上半年做得不错,下半年则有所放松。整体来说需要更注重习惯的养成和持续的打卡。</p>
|
|||
|
<p>例如合理健康的饮食计划的安排,还有《三一计划》的执行。有时候感觉工作一天了也很累,就压根不想动,就感觉有点无解。</p>
|
|||
|
<p>新的一年,重拾良好的饮食习惯和运动计划,好好锻炼身体。如果可以的话,就搞辆自行车 City Walk。</p>
|
|||
|
<h2 id="工作">工作<a aria-hidden="true" tabindex="-1" href="#工作" class="internal"> §</a></h2>
|
|||
|
<p>工作一直都是老样子,没什么可展开讲讲的。有就是帮朋友公司做出了许多有价值的决策,深度体验了现代企业中各种角色哈哈哈。</p>
|
|||
|
<p>今年还有一个心得就是:在大多数企业,能力不是最重要的。大部分企业 80% 的工作岗位负责内容只要是个人,并愿意学都能做到 60 分,总的来说人脉 > 资源 > 平台 > 机遇 > 能力。</p>
|
|||
|
<p>新的一年工作争取迈向新台阶,同时也多尝试一些副业,深度锻炼一下自己。</p>
|
|||
|
<h2 id="生活">生活<a aria-hidden="true" tabindex="-1" href="#生活" class="internal"> §</a></h2>
|
|||
|
<p>今年生活中的事情相对来说比较多,繁琐的事情也比较多,不过经历过后让我更加成熟。</p>
|
|||
|
<p>心的即是远离遭人烂事,千万不要妄想改变任何人。如果遇见遭人烂事,就抓紧跑路!</p>
|
|||
|
<p>新的一年就尽可能地远离遭人烂事,积极拥抱正能量。</p>
|
|||
|
<h2 id="阅读">阅读<a aria-hidden="true" tabindex="-1" href="#阅读" class="internal"> §</a></h2>
|
|||
|
<p>23 年读了很多技术书籍,并和 GPT 聊了很久。读书加写作带来的成长是不可小视的,但 ChatGPT 带来的成长更加显著。</p>
|
|||
|
<p>新的一年阅读的主要方向是哲学,并复读一些书籍。</p>
|
|||
|
<h2 id="成长">成长<a aria-hidden="true" tabindex="-1" href="#成长" class="internal"> §</a></h2>
|
|||
|
<p>23 年经历的事情也不少,心智阅历增加许多。但是还是会有一些不足的地方,不过人嘛,毕竟不是圣人。</p>
|
|||
|
<p>新的一年就逐渐完善自己,巩固已经获得的成果。</p>
|
|||
|
<h2 id="社交">社交<a aria-hidden="true" tabindex="-1" href="#社交" class="internal"> §</a></h2>
|
|||
|
<p>有些人就是很棒,有些人就是很恶心。有些人就是很优秀,有些人就是很垃圾。</p>
|
|||
|
<p>新的一年减少无效社交,双向奔赴。</p>
|
|||
|
<h2 id="爱好">爱好<a aria-hidden="true" tabindex="-1" href="#爱好" class="internal"> §</a></h2>
|
|||
|
<p>在编程之外,我近几年培养了基于琴棋书画诗酒花茶进而衍生出的钢琴,围棋,书法,摄影,写作等。</p>
|
|||
|
<p>钢琴已经好久没有碰了。围棋方面,有了不小的进步,希望自己的水平能更上一层楼。书法主要是硬笔书法,毛笔书法目前还没有尝试。摄影的基本功还在,但真的很懒。写作也是,一中断就容易捡不起来。至于饮酒,我现在很少喝了。喝茶方面,我几乎品尝了国内所有常见的茶种,特别偏爱乌龙茶中的凤凰单丛以及红茶和绿茶,还喜欢尝试混合品饮,如红茶 + 少量凤凰单纵。我还阅读了不少与茶相关的书籍,有机会也会分享我的品茗心得。</p>
|
|||
|
<p>新的一年,我想主要专注于写作和摄影。如果有时间的话,也包括练字和下围棋。至于其他爱好,就看实际情况了。</p>
|
|||
|
<h2 id="情感">情感<a aria-hidden="true" tabindex="-1" href="#情感" class="internal"> §</a></h2>
|
|||
|
<p>过去一年,我与小雅的相处越发和谐愉快哈哈哈。情侣间的相处毕竟是一个相互磨合、理解和共同成长的过程嘛。</p>
|
|||
|
<p>至于老爸老妈,就维持现状。毕竟,随着年龄的增长,追求的是怎样快乐就怎样生活。老姐因为不在一起,就尽可能地多一些关心和呵护。期待未来能有机会共同生活 ~</p>
|
|||
|
<p>对于其他人,将心比心就好。</p>
|
|||
|
<h2 id="目标">目标<a aria-hidden="true" tabindex="-1" href="#目标" class="internal"> §</a></h2>
|
|||
|
<p>24 年新的一年,各个方面都争取迈向新的台阶,同时利用年轻的优势多尝试,拓宽发展的可能性。</p>
|
|||
|
<p>在生活上,就尽可能地追求简单和快乐——让生活方式尽量减少不必要的复杂和紧张,寻找属于自己的幸福和快乐。</p></article></div><div class="right sidebar"><div class="graph "><h3>Graph View</h3><div class="graph-outer"><div id="graph-container" data-cfg="{"drag":true,"zoom":true,"depth":1,"scale":1.1,"repelForce":0.5,"centerForce":0.3,"linkDistance":30,"fontSize":0.6,"opacityScale":1,"showTags":true,"removeTags":[]}"></div><svg version="1.1" id="global-graph-icon" xmlns="http://www.w3.org/2000/svg" xmlnsXlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 55 55" fill="currentColor" xmlSpace="preserve"><path d="M49,0c-3.309,0-6,2.691-6,6c0,1.035,0.263,2.009,0.726,2.86l-9.829,9.829C32.542,17.634,30.846,17,29,17
|
|||
|
s-3.542,0.634-4.898,1.688l-7.669-7.669C16.785,10.424,17,9.74,17,9c0-2.206-1.794-4-4-4S9,6.794,9,9s1.794,4,4,4
|
|||
|
c0.74,0,1.424-0.215,2.019-0.567l7.669,7.669C21.634,21.458,21,23.154,21,25s0.634,3.542,1.688,4.897L10.024,42.562
|
|||
|
C8.958,41.595,7.549,41,6,41c-3.309,0-6,2.691-6,6s2.691,6,6,6s6-2.691,6-6c0-1.035-0.263-2.009-0.726-2.86l12.829-12.829
|
|||
|
c1.106,0.86,2.44,1.436,3.898,1.619v10.16c-2.833,0.478-5,2.942-5,5.91c0,3.309,2.691,6,6,6s6-2.691,6-6c0-2.967-2.167-5.431-5-5.91
|
|||
|
v-10.16c1.458-0.183,2.792-0.759,3.898-1.619l7.669,7.669C41.215,39.576,41,40.26,41,41c0,2.206,1.794,4,4,4s4-1.794,4-4
|
|||
|
s-1.794-4-4-4c-0.74,0-1.424,0.215-2.019,0.567l-7.669-7.669C36.366,28.542,37,26.846,37,25s-0.634-3.542-1.688-4.897l9.665-9.665
|
|||
|
C46.042,11.405,47.451,12,49,12c3.309,0,6-2.691,6-6S52.309,0,49,0z M11,9c0-1.103,0.897-2,2-2s2,0.897,2,2s-0.897,2-2,2
|
|||
|
S11,10.103,11,9z M6,51c-2.206,0-4-1.794-4-4s1.794-4,4-4s4,1.794,4,4S8.206,51,6,51z M33,49c0,2.206-1.794,4-4,4s-4-1.794-4-4
|
|||
|
s1.794-4,4-4S33,46.794,33,49z M29,31c-3.309,0-6-2.691-6-6s2.691-6,6-6s6,2.691,6,6S32.309,31,29,31z M47,41c0,1.103-0.897,2-2,2
|
|||
|
s-2-0.897-2-2s0.897-2,2-2S47,39.897,47,41z M49,10c-2.206,0-4-1.794-4-4s1.794-4,4-4s4,1.794,4,4S51.206,10,49,10z"></path></svg></div><div id="global-graph-outer"><div id="global-graph-container" data-cfg="{"drag":true,"zoom":true,"depth":-1,"scale":0.9,"repelForce":0.5,"centerForce":0.3,"linkDistance":30,"fontSize":0.6,"opacityScale":1,"showTags":true,"removeTags":[]}"></div></div></div><div class="toc desktop-only"><button type="button" id="toc" class><h3>Table of Contents</h3><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="fold"><polyline points="6 9 12 15 18 9"></polyline></svg></button><div id="toc-content"><ul class="overflow"><li class="depth-0"><a href="#可量化部分" data-for="可量化部分">可量化部分</a></li><li class="depth-0"><a href="#不可量化部分" data-for="不可量化部分">不可量化部分</a></li><li class="depth-0"><a href="#春" data-for="春">春</a></li><li class="depth-0"><a href="#夏" data-for="夏">夏</a></li><li class="depth-0"><a href="#秋" data-for="秋">秋</a></li><li class="depth-0"><a href="#冬" data-for="冬">冬</a></li><li class="depth-0"><a href="#健康" data-for="健康">健康</a></li><li class="depth-0"><a href="#工作" data-for="工作">工作</a></li><li class="depth-0"><a href="#生活" data-for="生活">生活</a></li><li class="depth-0"><a href="#阅读" data-for="阅读">阅读</a></li><li class="depth-0"><a href="#成长" data-for="成长">成长</a></li><li class="depth-0"><a href="#社交" data-for="社交">社交</a></li><li class="depth-0"><a href="#爱好" data-for="爱好">爱好</a></li><li class="depth-0"><a href="#情感" data-for="情感">情感</a></li><li class="depth-0"><a href="#目标" data-for="目标">目标</a></li></ul></div></div><div class="backlinks "><h3>Backlinks</h3><ul class="overflow"><li>No backlinks found</li></ul></div><div class="explorer mobile-only"><button type="button" id="explorer" data-behavior="collapse" data-collapsed="collapsed" data-savestate="true" data-tree="[{"path":"Basics","collapsed":true},{"path":"Basics/english","collapsed":true},{"path":"Blog","collapsed":true},{"path":"Book","collapsed":true},{"path":"Book/个人成长","collapsed":true},{"path":"Book/医学健康","collapsed":true},{"path":"Book/历史","collapsed":true},{"path":"Book/哲学宗教","collapsed":true},{"path":"Book/心理","collapsed":true},{"path":"Book/政治军事","collapsed":true},{"path":"Book/教育学习","collapsed":true},{"path":"Book/文学","collapsed":true},{"path":"Book/生活百科","collapsed":true},{"path":"Book/社会文化","collapsed":true},{"path":"Book/科学技术","collapsed":true},{"path":"Book/经济理财","collapsed":true},{"path":"Book/艺术","collapsed":true},{"path":"Book/计算机","collapsed":true},{"path":"Company","collapsed":true},{"path":"Company/信息化","collapsed":true},{"path":"Company/信息化/规范","collapsed":true},{"path":"Culture","collapsed":true},{"path":"Government","collapsed":true},{"path":"Government/中国","collapsed":true},{"path":"Government/中国/标准","collapsed":true},{"path":&
|
|||
|
function toggleCallout() {
|
|||
|
const outerBlock = this.parentElement;
|
|||
|
outerBlock.classList.toggle(`is-collapsed`);
|
|||
|
const collapsed = outerBlock.classList.contains(`is-collapsed`);
|
|||
|
const height = collapsed ? this.scrollHeight : outerBlock.scrollHeight;
|
|||
|
outerBlock.style.maxHeight = height + `px`;
|
|||
|
let current = outerBlock;
|
|||
|
let parent = outerBlock.parentElement;
|
|||
|
while (parent) {
|
|||
|
if (!parent.classList.contains(`callout`)) {
|
|||
|
return;
|
|||
|
}
|
|||
|
const collapsed2 = parent.classList.contains(`is-collapsed`);
|
|||
|
const height2 = collapsed2 ? parent.scrollHeight : parent.scrollHeight + current.scrollHeight;
|
|||
|
parent.style.maxHeight = height2 + `px`;
|
|||
|
current = parent;
|
|||
|
parent = parent.parentElement;
|
|||
|
}
|
|||
|
}
|
|||
|
function setupCallout() {
|
|||
|
const collapsible = document.getElementsByClassName(
|
|||
|
`callout is-collapsible`
|
|||
|
);
|
|||
|
for (const div of collapsible) {
|
|||
|
const title = div.firstElementChild;
|
|||
|
if (title) {
|
|||
|
title.removeEventListener(`click`, toggleCallout);
|
|||
|
title.addEventListener(`click`, toggleCallout);
|
|||
|
const collapsed = div.classList.contains(`is-collapsed`);
|
|||
|
const height = collapsed ? title.scrollHeight : div.scrollHeight;
|
|||
|
div.style.maxHeight = height + `px`;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
document.addEventListener(`nav`, setupCallout);
|
|||
|
window.addEventListener(`resize`, setupCallout);
|
|||
|
</script><script type="module">
|
|||
|
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.esm.min.mjs';
|
|||
|
const darkMode = document.documentElement.getAttribute('saved-theme') === 'dark'
|
|||
|
mermaid.initialize({
|
|||
|
startOnLoad: false,
|
|||
|
securityLevel: 'loose',
|
|||
|
theme: darkMode ? 'dark' : 'default'
|
|||
|
});
|
|||
|
document.addEventListener('nav', async () => {
|
|||
|
await mermaid.run({
|
|||
|
querySelector: '.mermaid'
|
|||
|
})
|
|||
|
});
|
|||
|
</script><script src="https://cdn.jsdelivr.net/npm/katex@0.16.7/dist/contrib/copy-tex.min.js" type="application/javascript"></script><script src="../postscript.js" type="module"></script></html>
|