Comments (5)
I will implement the suggested features but context data needed for adding it to Anki notes which I have not.
I understood this. If you can share the template then I will help you implementing the features you wanted.
from anki-chinese-grammar-practice.
The note template would be essentially the same as the current template you have, but it would enable you to have context text before and after the construction portion. Here's an example with Japanese (I don't know Chinese, so this will hopefully be enough to explain it):
なかなか[Construction Area]行けることになった。
_________
[ようやく] [行けなかった] [レストランに] [予約が取れなくて]
[Check] [Reset] [Hint]
Note Fields (simplified to only what is needed for the above for this example):
Sentence: なかなか予約が取れなくて行けなかったレストランにようやく行けることになった。
Before: なかなか
After: 行けることになった。
Splitted: ようやく 行けなかった レストランに 予約が取れなくて
The "Before" and "After" fields would be optional to fill out. If either of them are filled out, the text in the field will render before or after the construction area (which accepts the buttons after clicking them below). The button text should align with the "Before" and "After" text after it is clicked. If the "Before" and "After" fields are blank, the note type would behave in the same way it does in the current version. What I would recommend is updating the note type for the Chinese grammar deck to support the "Before" and "After" fields and leaving all of the "Before" and "After" fields blank for users to fill out if they feel it helps clarify a particular card. If there are problem cards in the Chinese grammar deck, where the context makes the problem more clear, they can be submitted back to you to be updated in the Ankiweb version of the deck.
from anki-chinese-grammar-practice.
- Before and After border color changed to distinguish from other text
- Note: Split should contain space separated grammatical correct sentence. It is used to match with original full text.
- The fields are renamed but variable and id is not renamed.
- Change text size from styling
Sentence Grammar Practice.zip
Rename .zip to .apkg and import it. It contains single note deck with above suggestions.
This contains {{#Before}}{{Before}}{{/Before}}
and {{#After}}{{After}}{{/After}}
Sentence Grammar Practice.zip
from anki-chinese-grammar-practice.
Thank you. It works as expected. The only other thing that'd be great to have would be for the buttons to fill the blanks from left to right as they're clicked, rather than filling the last blank first and filling in right to left. It's a minor thing, since the note type functions perfectly regardless with the update though. Thanks again for your help.
from anki-chinese-grammar-practice.
It can be implemented by changing js code in card templates. I may view this later.
from anki-chinese-grammar-practice.
Related Issues (4)
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 anki-chinese-grammar-practice.