0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Obsidian初心者】資格勉強管理テンプレートを作って勉強を捗らせたい

Posted at

【Obsidian初心者】資格勉強管理テンプレートを作って勉強を捗らせたい

やりたいこと

  1. 取りたい資格ごとに情報まとめノートを作成する
  2. 資格ごとのタグも同時に作り、勉強メモにタグ付けできるようにする

実行環境

  • Obsidian1(Version 1.8.7)
  • Mac OS
  • 使用プラグイン:
    • Templater2(Version 2.9.3)

ソースコード

  • テンプレート:
template.md
<%* 
const title = await tp.system.prompt("資格名を入力");
const revised_title = title.split(" ").join("_");
const folder = "exams";
await tp.file.move(`${folder}/${title}`);
%>
---
title: <% title %>
date: <% tp.date.now("YYYY-MM-DD") %>
tags: ["資格/<% revised_title %>"]
---
# <% title %>

## 基本情報
- 概要URL:
- 試験日:
- 試験時間:
- 試験形態:
- 受験料:

  • 実行例:
Cloud_Practitioner.md
---
title: Cloud Practitioner
date: 2000-01-01
tags: ["資格/Cloud_Practitioner"]
---

# Cloud Practitioner
以下略
  • ポイント:
  1. tp.system.prompt()でプロンプト入力できるようにする
  2. タグにスペースは使えないため、資格の名前にスペースがあるときは_で置換する
  3. スラッシュを使うとタグはネストできる(参考3)

まとめ

テンプレートを作ったのであとは勉強するだけ

  1. Obsidian公式ページ

  2. TemplaterのGitHubリポジトリ

  3. Obsidianのタグはスラッシュで階層化できる / 多元的な階層化の良さ

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?