mirror of
https://github.com/RyanGreenup/cadmus.git
synced 2025-08-31 01:29:48 +02:00
Deployed d6d07cb
with MkDocs version: 1.1.2
This commit is contained in:
124
find.html
124
find.html
@@ -223,15 +223,28 @@
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#how-does-it-work" class="md-nav__link">
|
||||
How does it Work
|
||||
<a href="#when-would-this-be-used" class="md-nav__link">
|
||||
When Would This Be Used
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="When Would This Be Used">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#example" class="md-nav__link">
|
||||
Example
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#when-would-this-be-used" class="md-nav__link">
|
||||
When Would This Be Used
|
||||
<a href="#how-does-it-work" class="md-nav__link">
|
||||
How does it Work
|
||||
</a>
|
||||
|
||||
</li>
|
||||
@@ -248,18 +261,30 @@
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="search.html" title="Search" class="md-nav__link">
|
||||
Search
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item md-nav__item--nested">
|
||||
|
||||
<input class="md-nav__toggle md-toggle" data-md-toggle="nav-3" type="checkbox" id="nav-3">
|
||||
<input class="md-nav__toggle md-toggle" data-md-toggle="nav-4" type="checkbox" id="nav-4">
|
||||
|
||||
<label class="md-nav__link" for="nav-3">
|
||||
<label class="md-nav__link" for="nav-4">
|
||||
Tools
|
||||
<span class="md-nav__icon md-icon">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.59 16.58L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.42z"/></svg>
|
||||
</span>
|
||||
</label>
|
||||
<nav class="md-nav" aria-label="Tools" data-md-level="1">
|
||||
<label class="md-nav__title" for="nav-3">
|
||||
<label class="md-nav__title" for="nav-4">
|
||||
<span class="md-nav__icon md-icon">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg>
|
||||
</span>
|
||||
@@ -285,6 +310,60 @@
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item md-nav__item--nested">
|
||||
|
||||
<input class="md-nav__toggle md-toggle" data-md-toggle="nav-5" type="checkbox" id="nav-5">
|
||||
|
||||
<label class="md-nav__link" for="nav-5">
|
||||
Tags
|
||||
<span class="md-nav__icon md-icon">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.59 16.58L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.42z"/></svg>
|
||||
</span>
|
||||
</label>
|
||||
<nav class="md-nav" aria-label="Tags" data-md-level="1">
|
||||
<label class="md-nav__title" for="nav-5">
|
||||
<span class="md-nav__icon md-icon">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg>
|
||||
</span>
|
||||
Tags
|
||||
</label>
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="tags/Filter.html" title="Filter" class="md-nav__link">
|
||||
Filter
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="tags/create.html" title="Create" class="md-nav__link">
|
||||
Create
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
@@ -336,15 +415,28 @@
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#how-does-it-work" class="md-nav__link">
|
||||
How does it Work
|
||||
<a href="#when-would-this-be-used" class="md-nav__link">
|
||||
When Would This Be Used
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="When Would This Be Used">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#example" class="md-nav__link">
|
||||
Example
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#when-would-this-be-used" class="md-nav__link">
|
||||
When Would This Be Used
|
||||
<a href="#how-does-it-work" class="md-nav__link">
|
||||
How does it Work
|
||||
</a>
|
||||
|
||||
</li>
|
||||
@@ -408,6 +500,10 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2 id="when-would-this-be-used">When Would This Be Used<a class="headerlink" href="#when-would-this-be-used" title="Permanent link">¶</a></h2>
|
||||
<p>Imagine you're sitting at your desk and you forgot how to pipe with <em>Mathematica</em>, you're solution is <code>cadmus find</code> and then type something like <code>computer algebra</code> then <kbd>Ctrl</kbd>-<kbd>Q</kbd> <code>-></code>.</p>
|
||||
<p><img alt="" src="media/How-To-Find.gif" /></p>
|
||||
<h3 id="example">Example<a class="headerlink" href="#example" title="Permanent link">¶</a></h3>
|
||||
<h2 id="how-does-it-work">How does it Work<a class="headerlink" href="#how-does-it-work" title="Permanent link">¶</a></h2>
|
||||
<p>So essentially this just uses <sub>skim</sub> and <sub>bat</sub> to filter/preview the notes, the interactive command is used with <sub>ripgrep</sub> and piping (that took me forever to figure out!!) to highlight the match in the preview.<sup id="fnref:4"><a class="footnote-ref" href="#fn:4">4</a></sup> This is the code that achieves it:</p>
|
||||
<div class="highlight"><pre><span></span><code>sk --ansi -m -c <span class="s1">'rg -l -t markdown --ignore-case "{}"'</span> <span class="se">\</span>
|
||||
@@ -440,8 +536,6 @@
|
||||
--color<span class="o">=</span>fg:#f8f8f2,bg:-1,matched:#6272a4,current_fg:#50fa7b,current_bg:#381070,border:#ff79c6,prompt:#bd93f9,query:#bd93f9,marker:#f1fa8c,header:#f1fa8c
|
||||
</code></pre></div>
|
||||
|
||||
<h2 id="when-would-this-be-used">When Would This Be Used<a class="headerlink" href="#when-would-this-be-used" title="Permanent link">¶</a></h2>
|
||||
<p>Imagine you're sitting at your desk and all of a sudden you're required to, I don't know, solve a linear recurrence relation, you're solution is <code>cadmus find</code> and then type something like <code>math mod</code> then <kbd>Ctrl</kbd>-<kbd>Q</kbd> linear.</p>
|
||||
<div class="footnote">
|
||||
<hr />
|
||||
<ol>
|
||||
@@ -494,13 +588,13 @@
|
||||
</a>
|
||||
|
||||
|
||||
<a href="Tools/New.html" title="New Note" class="md-footer-nav__link md-footer-nav__link--next" rel="next">
|
||||
<a href="search.html" title="Search" class="md-footer-nav__link md-footer-nav__link--next" rel="next">
|
||||
<div class="md-footer-nav__title">
|
||||
<div class="md-ellipsis">
|
||||
<span class="md-footer-nav__direction">
|
||||
Next
|
||||
</span>
|
||||
New Note
|
||||
Search
|
||||
</div>
|
||||
</div>
|
||||
<div class="md-footer-nav__button md-icon">
|
||||
|
Reference in New Issue
Block a user