trying to fix
This commit is contained in:
parent
fa407dfeb6
commit
e013d7569e
22945 changed files with 447936 additions and 0 deletions
|
@ -0,0 +1,46 @@
|
|||
<p>This post is about how to sync notes between Org and Anki manually.</p>
|
||||
|
||||
<p><em>Background</em>: In an effort to consolidate all my notes into *.org files, I need to
|
||||
deal with the old Anki decks.</p>
|
||||
|
||||
<p>Luckily, Anki supports exporting notes into plaintext files.</p>
|
||||
|
||||
<p><img alt="Anki export" src="https://i.imgur.com/xpF26VR.png" /></p>
|
||||
|
||||
<p>If you want to import the same file, you need <a href="https://ankiweb.net/shared/info/1672832404">an
|
||||
add-on</a> to generate the Node
|
||||
ID for each note.</p>
|
||||
|
||||
<p>Make sure Node ID field is added in the deck setup:</p>
|
||||
|
||||
<p><img alt="make sure Node ID field is added" src="https://i.imgur.com/dU5rvOR.png" /></p>
|
||||
|
||||
<p>Sample exported txt file:</p>
|
||||
|
||||
<blockquote>
|
||||
<p>9162f8c6-4942-11ec-8423-acde48001122 front 1 updated back 1 updated
|
||||
98699bac-4942-11ec-8423-acde48001122 front 2 updated back 2 updated</p>
|
||||
</blockquote>
|
||||
|
||||
<p>With this plaintext file, you can use whatever you are comfortable to
|
||||
convert them into your org format.</p>
|
||||
|
||||
<p>For example, if you are using <a href="https://github.com/org-roam/org-roam">Org-Roam</a>, the first note can be converted
|
||||
to:</p>
|
||||
|
||||
<pre><code class="language-org">:PROPERTIES:
|
||||
:ID: 9162f8c6-4942-11ec-8423-acde48001122
|
||||
:END:
|
||||
#+title: front 1 updated
|
||||
* Front
|
||||
front 1 updated
|
||||
* Back
|
||||
back 1 updated
|
||||
</code></pre>
|
||||
|
||||
<p>After you are done editing on org, it is a matter of converting them
|
||||
back to the plaintext files and importing them into Anki again:</p>
|
||||
|
||||
<p><img alt="import into anki" src="https://i.imgur.com/PhMCvVj.png" /></p>
|
||||
|
||||
<p>In this way, you can manually sync notes between Org and Anki.</p>
|
Loading…
Add table
Add a link
Reference in a new issue