Hi and sorry for the stupid questions, kinda new to learning japanese/anki/etc.
Can I use this deck for learning vocabulary?
Should I use this deck for learning vocabulary? :p
I'm not a programmer and I don't know anki, so this will be wrong in a million ways, but this quick hack seems to work for highlighting the word in the sentence:
in the styling section:
and in the front section:
Would this kind of thing work for learning vocab?
Hi and sorry again.
Can I use this deck for learning vocabulary?
Should I use this deck for learning vocabulary? :p
I'm not a programmer and I don't know anki, so this will be wrong in a million ways, but this quick hack seems to work for highlighting the word in the sentence:
in the styling section:
Code:
.word {
font-size: 150%;
color: red;
}Code:
<script>
var $$ = function(e) {return document.getElementById(e);}
var word = "{{Word}}";
var word0 = word.split(" ")[0];
var expr = "{{Expression}}";
expr = expr.replace(word0, "<span class=\"word\">" + word0 + "</span>");
$$("expr").innerHTML = expr;
</script>Hi and sorry again.
