Comments (5)
I would have to have a think about this tbh.
Would want to make sure whatever design decision is made in the code is supportable and extensible in the future though it is a good idea overall and doesn't add too much complexity.
I think the style org style your are suggesting probably makes the most sense though.
from org_to_anki.
The code is completed in branch feature/support-multiple-feild-types
and unit tested.
I will hopefully have the documentation update this afternoon, will do some manual testing and will then release. Feel try to try it out on the branch before that.
I decided to go with the following syntax.
* Second Question
** Second Answer
# fieldType=Front Hint
** Front hint test
Logic behind this was as follows:
-
Better to use
fieldType
to be more specific I might change it tofieldName
before I release -
The other parameters are already not using quote marks
'
even for multi word values- The split on the
key=value
occurs when another key is found or when the end of the line is reached
- The split on the
from org_to_anki.
Closed by #36
from org_to_anki.
I think you’ve implemented this very well as far as I can see, it atleast seems to fully suit my needs! Unfortunately I’m knee deep in ny exams atm, however I plan on using Anki and org_to_anki for Anki card creation for other stuff/ uni after my exams. I’ll report back than, or if I find some time I’ll try it out a little earlier.
I might have the basis for something useful too, a script to convert markdown files to org files which are compatible with org_to_anki. Although this script is currently very specific to my setup, hacky and written in fish script. I prefer markdown files as I can use the marktext markdown editor with it’s live preview of math formula’s which is really nice. Or I can edit it in my preferred editor which is neovim😉Which has nice support for markdown while it Obviously doesn’t handle org files well.
In any case thanks for the quality software.
from org_to_anki.
I would be open to a look at some of the code and maybe even adding markdown parsing support in future if I can see a solid use case.
Would require a decent bit of testing but should be possible!
Thanks for the feedback anyway!
from org_to_anki.
Related Issues (20)
- does not support Arabic HOT 5
- Support sync of text files to Anki deck - edits / deletions / new cards HOT 3
- What is the second script? HOT 2
- Auto cloze from a wordlist.txt HOT 3
- How to add an image to Extra field of Cloze? HOT 7
- Support image inline for Emacs
- Support for .pdf not available as answer, rather than only .png (image) HOT 1
- Support for .html not available as answer, rather than only .png HOT 6
- Non-Technical Help Request HOT 10
- Remove usage references to Word in the readme HOT 1
- Investigate issues that causes missing html in bs4 4.9.1
- Lists to Anki issue HOT 3
- long lines in the top level of bullets are truncated before they appear on "Front" in Anki HOT 6
- HTML elements not rendered correctly in question statements HOT 5
- The error was 'list' object has no attribute 'contents' HOT 2
- The error was “list” object has no attribute “contents”
- The error was Line incorrectly processed..
- utf-8' codec can't decode byte 0xca in position 2265: invalid continuation byte
- false-positive alert in the report to the CLI for .org with UUID
- feature suggest, extending org-based Anki import of code snippets
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from org_to_anki.