From a171552d9f6625932317b40cd3bd14d4b8afec1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=BE=E6=B5=A6=20=E7=9F=A5=E4=B9=9F=20Matsuura=20Tomoy?= =?UTF-8?q?a?= Date: Wed, 8 Oct 2025 08:27:15 +0900 Subject: [PATCH] [obsidian] vault backup: 2025-10-08 08:27:15 --- content/.obsidian/community-plugins.json | 3 +- content/.smart-env/smart_env.json | 61 ++++++++++++++++++++++++ content/Prism.js.md | 12 +++++ content/mimium.md | 1 + 4 files changed, 76 insertions(+), 1 deletion(-) create mode 100644 content/.smart-env/smart_env.json create mode 100644 content/Prism.js.md diff --git a/content/.obsidian/community-plugins.json b/content/.obsidian/community-plugins.json index b4b3b6c7..c03d396b 100644 --- a/content/.obsidian/community-plugins.json +++ b/content/.obsidian/community-plugins.json @@ -10,5 +10,6 @@ "obsidian-zotero-desktop-connector", "obsidian-outliner", "obsidian-local-rest-api", - "mcp-tools" + "mcp-tools", + "smart-connections" ] \ No newline at end of file diff --git a/content/.smart-env/smart_env.json b/content/.smart-env/smart_env.json new file mode 100644 index 00000000..412aa13e --- /dev/null +++ b/content/.smart-env/smart_env.json @@ -0,0 +1,61 @@ +{ + "is_obsidian_vault": true, + "smart_blocks": { + "embed_blocks": true, + "min_chars": 200 + }, + "smart_sources": { + "single_file_data_path": ".smart-env/smart_sources.json", + "min_chars": 200, + "embed_model": { + "adapter": "transformers", + "transformers": { + "legacy_transformers": false, + "model_key": "TaylorAI/bge-micro-v2" + }, + "TaylorAI/bge-micro-v2": {} + }, + "excluded_headings": "", + "file_exclusions": "Untitled", + "folder_exclusions": "" + }, + "ribbon_icons": { + "connections": true, + "random_note": false + }, + "smart_view_filter": { + "render_markdown": true, + "show_full_path": false, + "exclude_blocks_from_source_connections": false, + "exclude_frontmatter_blocks": true, + "expanded_view": false, + "results_limit": "20" + }, + "language": "en", + "new_user": true, + "re_import_wait_time": 13, + "smart_chat_threads": { + "chat_model": { + "adapter": "ollama", + "ollama": { + "model_key": "undefined", + "host": "http://localhost:11434" + } + }, + "active_thread_key": "Untitled Chat 2025-10-08 08-19-36", + "system_prompt": "", + "detect_self_referential": true, + "review_context": true, + "stream": true, + "language": "en", + "modifier_key_to_send": "shift", + "use_tool_calls": true + }, + "smart_notices": { + "muted": { + "embedding_complete": true, + "done_import": true + } + }, + "version": "" +} \ No newline at end of file diff --git a/content/Prism.js.md b/content/Prism.js.md new file mode 100644 index 00000000..cb40b69a --- /dev/null +++ b/content/Prism.js.md @@ -0,0 +1,12 @@ +--- +date: 2025-10-08 08:24 +--- +#programming #library + +しンタックスハイライトのライブラリ。 + +[[mimium]]のWebComponentの実装に使っている。 + +カスタム言語を作るためにはPrism独自のフォーマットで実装する必要あり + +[Extending Prism ▲ Prism](https://prismjs.com/extending) diff --git a/content/mimium.md b/content/mimium.md index e5e52a07..25d277ee 100644 --- a/content/mimium.md +++ b/content/mimium.md @@ -84,6 +84,7 @@ v4 - mapやfoldをやるにはジェネリクスが必要だけど、とりあえずは整数に対する操作だけでも - 整数型の整備 - Craneliftバックエンド with wasm3 +- Webcomponentをちゃんとshadow-dom化したい(今は別途prismを読んで直接HTMLを書く必要がある) v3