Files
obsidian/Templater/Daily_Note 템플릿-1.md

2.9 KiB
Raw Permalink Blame History

date_daily, achievement, reading_book, emotion, important_date, tags, daily_review, reading_page, exercise
date_daily achievement reading_book emotion important_date tags daily_review reading_page exercise
<% tp.file.title.slice(0,10) %> false
daily
false

*올해 남은 일: <% let edate = moment("12-31", "MM-DD"); let from = moment().startOf('day'); edate.diff(from, "days") >= 0 ? edate.diff(from, "days") == 0 ? tR += "오늘입니다!" : tR += edate.diff(from, "days") : tR += edate.add(1, "year").diff(from, "days") %>

*achievement:업적,성취(목표를 이루다), emotion:감정, exetcise:운동, review:(변화를 주기위해)검토, 비평, 논평, 평가, *

<%* const currentMoment = moment(tp.file.title, "YYYY-MM-DD"); tR += ' '; tR += '' + currentMoment.format('YYYY' + ' / '; tR += '' + currentMoment.format('YYYY-MM' + ' / '; tR += '' + currentMoment.format('gggg-[W]ww') + ''; tR += ' '; tR += '\n'; tR += ' '; currentMoment.add(-1,'days'); tR += '' + currentMoment.format('YYYY-MM-DD(ddd)') + '' + ' | '; currentMoment.add(1,'days'); tR += currentMoment.format('YYYY-MM-DD(ddd)') + ' | '; currentMoment.add(1,'days'); tR += '' + currentMoment.format('YYYY-MM-DD(ddd)') + ''; currentMoment.add(-1,'days'); tR += ' '; %>

<% tp.web.daily_quote() %>

일일업무

!인수인계서(군수지원부사관)

!2025년 월력형 메모형 일정.canvas

내일 기억할 일

오늘 기억할 일

<%* let yesterday = "10. Planner/11. Daily/" + tp.date.now("YYYY-MM-DD(ddd)", -1, tp.file.title, "YYYY-MM-DD(ddd)"); let section = "### 내일 기억할 일"; let should_include = false; let sectionContent = "";

let yfile = tp.file.find_tfile(yesterday); if(yfile) { const content = await app.vault.read(yfile); if(content.includes(section)) { let startIndex = content.indexOf(section) + section.length; let endIndex = content.indexOf('\n###', startIndex); endIndex = endIndex === -1 ? content.length : endIndex; sectionContent = content.substring(startIndex, endIndex).trim(); should_include = sectionContent.length > 0; } }

tR += should_include ? sectionContent : "없습니다😀"; %>

아침

오늘의 확언 ^[확실히 말하다.]

오늘의 목표

할 일 추가하기

오늘 완료한 일

done <% tp.file.title.slice(0,10) %>

독서

  • 읽은 책
  • 읽은 페이지

운동

하루 마무리

오늘 배운 것들

오늘 감사한 일

Note

일기

Note

오늘요약

Note

^summary

오늘 작성한 노트

List FROM "" WHERE file.cday = date("<% tp.date.now('YYYY-MM-DD') %>") SORT file.ctime desc

오늘 수정한 노트

List FROM "" WHERE file.mday = date("<% tp.date.now('YYYY-MM-DD') %>") SORT file.mtime desc