%* const setStart = "START" const clipboard = await tp.system.clipboard() var Question = await tp.system.prompt("문제지(앞면)에 표시할 내용을 입력해주세요", clipboard) var Word = await tp.system.prompt("입력된 문장 중, 어느 영단어에 빈칸을 뚫으시겠습니까?", Question) var Answer = await tp.system.prompt("답안지(뒷면)에 표시할 내용을 입력해주세요") var Choices = Sentence.replace(/\s/g, ' / '); let now = new Date(); now.setHours(now.getHours() + 9); let dateString = now.toISOString().replace(/[-T:.Z]/g, '').slice(0, 14); let ankiString = 'Anki ' + dateString.substr(0,8) + '_' +dateString.substr(8,14); await tp.file.rename(ankiString) -%> *** > [!Information] > - 빈 칸이 길 때 사용합니다 > - CREATED : <% tp.date.now("YYYY_MM_DD_HHmmss") %> <% setStart %> KOREANKI_WRITING_CLOZE Question: {{c1::<% Sentence %>}} Translation: <% Meaning %> Type?: 1 Choices: <% Choices %> Solution: Title: 다음 문장(한글)을 읽고 외국어(영어)로 작문해주세요. Category: Unit: Image: END FILE TAGS: SENTENSE(KOR_to_ENG) TARGET DECK: Study English ***