Skip to content

Commit

Permalink
released v1.6.0 27cbc71
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Sep 29, 2024
1 parent 76b0acd commit f648c76
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 5 deletions.
30 changes: 27 additions & 3 deletions docs/quickreference.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24" class="dark" height="1em" width="1em">
<path d="M12 11.807A9.002 9.002 0 0 1 10.049 2a9.942 9.942 0 0 0-5.12 2.735c-3.905 3.905-3.905 10.237 0 14.142 3.906 3.906 10.237 3.905 14.143 0a9.946 9.946 0 0 0 2.735-5.119A9.003 9.003 0 0 1 12 11.807z"></path>
</svg>
</button><script src="../js/dark.js?v=1.5.7"></script><a href="https://github.com/jaywcjlove/refs-cli" class="" target="__blank"><svg viewBox="0 0 16 16" fill="currentColor" height="1em" width="1em"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path></svg></a></div></div></nav><div class="wrap h1body-exist max-container"><header class="wrap-header h1wrap"><h1 id="quick-reference-cheatsheet"><svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" height="1em" width="1em">
</button><script src="../js/dark.js?v=1.6.0"></script><a href="https://github.com/jaywcjlove/refs-cli" class="" target="__blank"><svg viewBox="0 0 16 16" fill="currentColor" height="1em" width="1em"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path></svg></a></div></div></nav><div class="wrap h1body-exist max-container"><header class="wrap-header h1wrap"><h1 id="quick-reference-cheatsheet"><svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" height="1em" width="1em">
<path d="m21.66 10.44-.98 4.18c-.84 3.61-2.5 5.07-5.62 4.77-.5-.04-1.04-.13-1.62-.27l-1.68-.4c-4.17-.99-5.46-3.05-4.48-7.23l.98-4.19c.2-.85.44-1.59.74-2.2 1.17-2.42 3.16-3.07 6.5-2.28l1.67.39c4.19.98 5.47 3.05 4.49 7.23Z" fill="#c9d1d9"></path>
<path d="M15.06 19.39c-.62.42-1.4.77-2.35 1.08l-1.58.52c-3.97 1.28-6.06.21-7.35-3.76L2.5 13.28c-1.28-3.97-.22-6.07 3.75-7.35l1.58-.52c.41-.13.8-.24 1.17-.31-.3.61-.54 1.35-.74 2.2l-.98 4.19c-.98 4.18.31 6.24 4.48 7.23l1.68.4c.58.14 1.12.23 1.62.27Zm2.43-8.88c-.06 0-.12-.01-.19-.02l-4.85-1.23a.75.75 0 0 1 .37-1.45l4.85 1.23a.748.748 0 0 1-.18 1.47Z" fill="#228e6c"></path>
<path d="M14.56 13.89c-.06 0-.12-.01-.19-.02l-2.91-.74a.75.75 0 0 1 .37-1.45l2.91.74c.4.1.64.51.54.91-.08.34-.38.56-.72.56Z" fill="#228e6c"></path>
Expand Down Expand Up @@ -348,6 +348,26 @@ <h4 id="parameter-description"><a aria-hidden="true" tabindex="-1" href="#parame
<table class="shortcuts"><thead><tr><th>Key</th><th>value</th></tr></thead><tbody><tr><td><code>Shortcuts</code></td><td>directions</td></tr><tr><td><code>Shortcuts</code></td><td>directions</td></tr></tbody></table>
<!--rehype:className=shortcuts-->
<p>Add the <code>&#x3C;!--rehype:className=shortcuts--></code> style class to the list to display the shortcut key style.</p>

















<table class="shortcuts-last"><thead><tr><th align="left">Key</th><th>value</th></tr></thead><tbody><tr><td align="left">directions</td><td><code>Shortcuts</code></td></tr><tr><td align="left">directions</td><td><code>Shortcuts</code></td></tr></tbody></table>
<!--rehype:className=shortcuts-last-->
<p>Add the <code>&#x3C;!--rehype:className=shortcuts-last--></code> style class to the list to display the shortcut key style.</p>
</div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="code-line-number"><a aria-hidden="true" tabindex="-1" href="#code-line-number"><span class="icon icon-link"></span></a>Code line number</h3><div class="wrap-body">
<pre class="language-jsx"><code class="language-jsx code-highlight"><span class="code-line line-number" line="1"><span class="token keyword module">export</span> <span class="token keyword">const</span> <span class="token maybe-class-name">Student</span> <span class="token operator">=</span> <span class="token tag"><span class="token tag"><span class="token punctuation">&#x3C;</span>div</span><span class="token punctuation">></span></span><span class="token plain-text">Student</span><span class="token tag"><span class="token tag"><span class="token punctuation">&#x3C;/</span>div</span><span class="token punctuation">></span></span><span class="token punctuation">;</span>
</span><span class="code-line line-number" line="2"><span class="token keyword">const</span> school <span class="token operator">=</span> <span class="token tag"><span class="token tag"><span class="token punctuation">&#x3C;</span>div</span><span class="token punctuation">></span></span><span class="token plain-text">School</span><span class="token tag"><span class="token tag"><span class="token punctuation">&#x3C;/</span>div</span><span class="token punctuation">></span></span><span class="token punctuation">;</span>
Expand Down Expand Up @@ -489,7 +509,11 @@ <h4 id="parameter-description"><a aria-hidden="true" tabindex="-1" href="#parame



<table><thead><tr><th></th><th>说明</th></tr></thead><tbody><tr><td><code>&#x3C;!--rehype:className=wrap-text--></code></td><td>强制<code>换行</code></td></tr><tr><td><code>&#x3C;!--rehype:className=show-header--></code></td><td>展示表格<code>表头</code></td></tr><tr><td><code>&#x3C;!--rehype:className=shortcuts--></code></td><td><code>快捷键</code>样式</td></tr><tr><td><code>&#x3C;!--rehype:className=auto-wrap--></code></td><td>隐藏表头强制小尺寸<code>自动换行</code></td></tr><tr><td><code>&#x3C;!--rehype:className=style-list-arrow--></code></td><td>列表<code>箭头</code>样式展示表格</td></tr><tr><td><code>&#x3C;!--rehype:className=style-list--></code></td><td><code>列表</code>样式展示表格</td></tr><tr><td><code>&#x3C;!--rehype:className=left-align--></code></td><td>表格末尾列<code>左对齐</code></td></tr><tr><td><code>&#x3C;!--rehype:className=style-none--></code></td><td>&#x3C;li> 没有标记样式</td></tr><tr><td><code>&#x3C;!--rehype:className=style-timeline--></code></td><td><code>时间轴</code>样式</td></tr><tr><td><code>&#x3C;!--rehype:className=style-arrow--></code></td><td><code>箭头</code>标记</td></tr></tbody></table>




<table><thead><tr><th></th><th>说明</th></tr></thead><tbody><tr><td><code>&#x3C;!--rehype:className=wrap-text--></code></td><td>强制<code>换行</code></td></tr><tr><td><code>&#x3C;!--rehype:className=show-header--></code></td><td>展示表格<code>表头</code></td></tr><tr><td><code>&#x3C;!--rehype:className=shortcuts--></code></td><td>表首列<code>快捷键</code>样式</td></tr><tr><td><code>&#x3C;!--rehype:className=shortcuts-last--></code></td><td>表尾列<code>快捷键</code>样式</td></tr><tr><td><code>&#x3C;!--rehype:className=auto-wrap--></code></td><td>隐藏表头强制小尺寸<code>自动换行</code></td></tr><tr><td><code>&#x3C;!--rehype:className=style-list-arrow--></code></td><td>列表<code>箭头</code>样式展示表格</td></tr><tr><td><code>&#x3C;!--rehype:className=style-list--></code></td><td><code>列表</code>样式展示表格</td></tr><tr><td><code>&#x3C;!--rehype:className=left-align--></code></td><td>表格末尾列<code>左对齐</code></td></tr><tr><td><code>&#x3C;!--rehype:className=style-none--></code></td><td>&#x3C;li> 没有标记样式</td></tr><tr><td><code>&#x3C;!--rehype:className=style-timeline--></code></td><td><code>时间轴</code>样式</td></tr><tr><td><code>&#x3C;!--rehype:className=style-arrow--></code></td><td><code>箭头</code>标记</td></tr></tbody></table>
</div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="katex-数学渲染"><a aria-hidden="true" tabindex="-1" href="#katex-数学渲染"><span class="icon icon-link"></span></a>KaTeX 数学渲染</h3><div class="wrap-body">
<pre class="language-katex"><span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mi>c</mi><mo>=</mo><mo>±</mo><msqrt><mrow><msup><mi>a</mi><mn>2</mn></msup><mo>+</mo><msup><mi>b</mi><mn>2</mn></msup></mrow></msqrt><mi>L</mi><mo>=</mo><mfrac><mn>1</mn><mn>2</mn></mfrac><mi>ρ</mi><msup><mi>v</mi><mn>2</mn></msup><mi>S</mi><msub><mi>C</mi><mi>L</mi></msub></mrow><annotation encoding="application/x-tex">c = \pm\sqrt{a^2 + b^2}
L = \frac{1}{2} \rho v^2 S C_L
Expand Down Expand Up @@ -1176,7 +1200,7 @@ <h4 id="h4-subheading-1"><a aria-hidden="true" tabindex="-1" href="#h4-subheadin
</span><span class="code-line"><span class="token code-snippet code keyword">`&#x3C;!--rehype:wrap-style=background: #1b5064;-->`</span>
</span></code></pre>
<!--rehype:className=wrap-text -->
</div></div></div></div></div></div><script src="https://giscus.app/client.js" data-repo="jaywcjlove/refs-cli" data-repo-id="R_kgDOIfibtA" data-category="Q&#x26;A" data-category-id="DIC_kwDOIfibtM4CZObA" data-mapping="pathname" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" data-input-position="bottom" data-theme="preferred_color_scheme" data-lang="en" crossorigin="anonymous" async></script><div class="giscus"></div></div><footer class="footer-wrap"><footer class="max-container">© 2022 <a href="https://wangchujiang.com/#/app" target="_blank">Kenny Wang</a>.</footer></footer><script src="../data.js?v=1.5.7" defer></script><script src="../js/fuse.min.js?v=1.5.7" defer></script><script src="../js/main.js?v=1.5.7" defer></script><div id="mysearch"><div class="mysearch-box"><div class="mysearch-input"><div><svg xmlns="http://www.w3.org/2000/svg" height="1em" width="1em" viewBox="0 0 18 18">
</div></div></div></div></div></div><script src="https://giscus.app/client.js" data-repo="jaywcjlove/refs-cli" data-repo-id="R_kgDOIfibtA" data-category="Q&#x26;A" data-category-id="DIC_kwDOIfibtM4CZObA" data-mapping="pathname" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" data-input-position="bottom" data-theme="preferred_color_scheme" data-lang="en" crossorigin="anonymous" async></script><div class="giscus"></div></div><footer class="footer-wrap"><footer class="max-container">© 2022 <a href="https://wangchujiang.com/#/app" target="_blank">Kenny Wang</a>.</footer></footer><script src="../data.js?v=1.6.0" defer></script><script src="../js/fuse.min.js?v=1.6.0" defer></script><script src="../js/main.js?v=1.6.0" defer></script><div id="mysearch"><div class="mysearch-box"><div class="mysearch-input"><div><svg xmlns="http://www.w3.org/2000/svg" height="1em" width="1em" viewBox="0 0 18 18">
<path fill="currentColor" d="M17.71,16.29 L14.31,12.9 C15.4069846,11.5024547 16.0022094,9.77665502 16,8 C16,3.581722 12.418278,0 8,0 C3.581722,0 0,3.581722 0,8 C0,12.418278 3.581722,16 8,16 C9.77665502,16.0022094 11.5024547,15.4069846 12.9,14.31 L16.29,17.71 C16.4777666,17.8993127 16.7333625,18.0057983 17,18.0057983 C17.2666375,18.0057983 17.5222334,17.8993127 17.71,17.71 C17.8993127,17.5222334 18.0057983,17.2666375 18.0057983,17 C18.0057983,16.7333625 17.8993127,16.4777666 17.71,16.29 Z M2,8 C2,4.6862915 4.6862915,2 8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 Z"></path>
</svg><input id="mysearch-input" type="search" placeholder="Search" autocomplete="off"><div class="mysearch-clear"></div></div><button id="mysearch-close" type="button">Search</button></div><div class="mysearch-result"><div id="mysearch-menu"></div><div id="mysearch-content"></div></div></div></div></body>
</html>
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24" class="dark" height="1em" width="1em">
<path d="M12 11.807A9.002 9.002 0 0 1 10.049 2a9.942 9.942 0 0 0-5.12 2.735c-3.905 3.905-3.905 10.237 0 14.142 3.906 3.906 10.237 3.905 14.143 0a9.946 9.946 0 0 0 2.735-5.119A9.003 9.003 0 0 1 12 11.807z"></path>
</svg>
</button><script src="js/dark.js?v=1.5.7"></script><a href="https://github.com/jaywcjlove/refs-cli" class="" target="__blank"><svg viewBox="0 0 16 16" fill="currentColor" height="1em" width="1em"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path></svg></a></div></div></nav><div class="wrap h1body-exist max-container"><header class="wrap-header h1wrap"><h1 id="refs-cli"><a aria-hidden="true" tabindex="-1" href="#refs-cli"><span class="icon icon-link"></span></a>Refs CLI</h1><div class="wrap-body">
</button><script src="js/dark.js?v=1.6.0"></script><a href="https://github.com/jaywcjlove/refs-cli" class="" target="__blank"><svg viewBox="0 0 16 16" fill="currentColor" height="1em" width="1em"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path></svg></a></div></div></nav><div class="wrap h1body-exist max-container"><header class="wrap-header h1wrap"><h1 id="refs-cli"><a aria-hidden="true" tabindex="-1" href="#refs-cli"><span class="icon icon-link"></span></a>Refs CLI</h1><div class="wrap-body">

<p>Command line tool to generate <code>Quick Reference</code> website. This is also a tool separated from <a href="https://jaywcjlove.github.io/reference"><code>Quick Reference</code></a> to help <a href="https://jaywcjlove.github.io/reference"><code>Quick Reference</code></a> compile and generate HTML websites</p>

Expand Down Expand Up @@ -187,7 +187,7 @@
<span>kjchmc.cn</span></a><!--rehype:target=_blank&class=contributing&data-info=👆实时同步,自动切换国内外节点--></p>
<!--rehype:class=home-card home-links-->

</div></div><div class="h2wrap-body"></div></div></div></div><footer class="footer-wrap"><footer class="max-container">© 2022 <a href="https://wangchujiang.com/#/app" target="_blank">Kenny Wang</a>. Updated on 2024/09/29 16:43:45</footer></footer><script src="data.js?v=1.5.7" defer></script><script src="js/fuse.min.js?v=1.5.7" defer></script><script src="js/main.js?v=1.5.7" defer></script><div id="mysearch"><div class="mysearch-box"><div class="mysearch-input"><div><svg xmlns="http://www.w3.org/2000/svg" height="1em" width="1em" viewBox="0 0 18 18">
</div></div><div class="h2wrap-body"></div></div></div></div><footer class="footer-wrap"><footer class="max-container">© 2022 <a href="https://wangchujiang.com/#/app" target="_blank">Kenny Wang</a>. Updated on 2024/09/29 17:09:16</footer></footer><script src="data.js?v=1.6.0" defer></script><script src="js/fuse.min.js?v=1.6.0" defer></script><script src="js/main.js?v=1.6.0" defer></script><div id="mysearch"><div class="mysearch-box"><div class="mysearch-input"><div><svg xmlns="http://www.w3.org/2000/svg" height="1em" width="1em" viewBox="0 0 18 18">
<path fill="currentColor" d="M17.71,16.29 L14.31,12.9 C15.4069846,11.5024547 16.0022094,9.77665502 16,8 C16,3.581722 12.418278,0 8,0 C3.581722,0 0,3.581722 0,8 C0,12.418278 3.581722,16 8,16 C9.77665502,16.0022094 11.5024547,15.4069846 12.9,14.31 L16.29,17.71 C16.4777666,17.8993127 16.7333625,18.0057983 17,18.0057983 C17.2666375,18.0057983 17.5222334,17.8993127 17.71,17.71 C17.8993127,17.5222334 18.0057983,17.2666375 18.0057983,17 C18.0057983,16.7333625 17.8993127,16.4777666 17.71,16.29 Z M2,8 C2,4.6862915 4.6862915,2 8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 Z"></path>
</svg><input id="mysearch-input" type="search" placeholder="Search" autocomplete="off"><div class="mysearch-clear"></div></div><button id="mysearch-close" type="button">Search</button></div><div class="mysearch-result"><div id="mysearch-menu"></div><div id="mysearch-content"></div></div></div></div></body>
</html>
3 changes: 3 additions & 0 deletions style/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ table {
border-collapse: collapse;
}

table.shortcuts-last td:last-child > code,
table.shortcuts-last td:last-child > del > code,

table.shortcuts td:not(:last-child) > code,
table.shortcuts td:not(:last-child) > del > code,
ul.shortcuts li > code,
Expand Down

0 comments on commit f648c76

Please sign in to comment.