카드 뒷면 서식 샘플입니다.
재생할 단어를 WordForSearch 필드로 한다면,
1. TTS 추가
2. 대사예문 사이트 연결
{{FrontSide}}
<hr id=answer>
{{Back}}
<p/>
<p/>
<p>
{{tts en_US voices=AwesomeTTS:WordForSearch}}
<div style='font-family: "Arial"; font-size: 20px;'>{{WordForSearch}}</div>
</p>
<script type="text/javascript">
function moveUrlDic1(word){
var url = "http://endic.naver.com/search.nhn?sLn=kr&isOnlyViewEE=N&query=" + word;
window.open(url, "w_dic1");
}
function moveUrlExample1(word){
var url = "https://en.dict.naver.com/#/search?range=example&query=" + word;
window.open(url, "w_example1");
}
function moveUrlExample2(word){
var url = "https://www.playphrase.me/#/search?q=" + word + "&pos=0&x=" + (new Date()).getTime();
window.open(url, "w_example2");
}
function moveUrlExample3(word){
var url = "https://getyarn.io/yarn-find?text=" + word + "&p=2&x=" + (new Date()).getTime();
window.open(url, "w_example3");
}
</script>
<p>
<button onClick="moveUrlDic1('{{WordForSearch}}')">
네이버 사전
</button>
<br>
<button onClick="moveUrlExample1('{{WordForSearch}}')">
네이버 예문
</button>
<br>
<button onClick="moveUrlExample2('{{WordForSearch}}')">
대사예문 (playphrase.com))
</button>
<br>
<button onClick="moveUrlExample3('{{WordForSearch}}')">
대사예문 (getyarn.io)
</button>
<br>
</p>
728x90
'Tools > Anki' 카테고리의 다른 글
Anki 쓸만한 Add ons (1) | 2024.01.12 |
---|---|
Anki 기본 설정 (version 23.12.1 Qt6) (1) | 2024.01.07 |