bobo-ai-cli 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (234) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +216 -0
  3. package/dist/agent.d.ts +9 -0
  4. package/dist/agent.js +144 -0
  5. package/dist/agent.js.map +1 -0
  6. package/dist/config.d.ts +15 -0
  7. package/dist/config.js +76 -0
  8. package/dist/config.js.map +1 -0
  9. package/dist/index.d.ts +2 -0
  10. package/dist/index.js +366 -0
  11. package/dist/index.js.map +1 -0
  12. package/dist/knowledge-commands.d.ts +2 -0
  13. package/dist/knowledge-commands.js +40 -0
  14. package/dist/knowledge-commands.js.map +1 -0
  15. package/dist/knowledge.d.ts +17 -0
  16. package/dist/knowledge.js +112 -0
  17. package/dist/knowledge.js.map +1 -0
  18. package/dist/memory.d.ts +17 -0
  19. package/dist/memory.js +215 -0
  20. package/dist/memory.js.map +1 -0
  21. package/dist/planner.d.ts +22 -0
  22. package/dist/planner.js +130 -0
  23. package/dist/planner.js.map +1 -0
  24. package/dist/project.d.ts +25 -0
  25. package/dist/project.js +117 -0
  26. package/dist/project.js.map +1 -0
  27. package/dist/rules-commands.d.ts +2 -0
  28. package/dist/rules-commands.js +51 -0
  29. package/dist/rules-commands.js.map +1 -0
  30. package/dist/skills.d.ts +28 -0
  31. package/dist/skills.js +349 -0
  32. package/dist/skills.js.map +1 -0
  33. package/dist/structured/loader.d.ts +19 -0
  34. package/dist/structured/loader.js +147 -0
  35. package/dist/structured/loader.js.map +1 -0
  36. package/dist/structured/paths.d.ts +2 -0
  37. package/dist/structured/paths.js +14 -0
  38. package/dist/structured/paths.js.map +1 -0
  39. package/dist/structured/project-scaffold.d.ts +7 -0
  40. package/dist/structured/project-scaffold.js +60 -0
  41. package/dist/structured/project-scaffold.js.map +1 -0
  42. package/dist/structured/render-markdown.d.ts +37 -0
  43. package/dist/structured/render-markdown.js +47 -0
  44. package/dist/structured/render-markdown.js.map +1 -0
  45. package/dist/structured/render-table.d.ts +1 -0
  46. package/dist/structured/render-table.js +15 -0
  47. package/dist/structured/render-table.js.map +1 -0
  48. package/dist/structured/search.d.ts +10 -0
  49. package/dist/structured/search.js +104 -0
  50. package/dist/structured/search.js.map +1 -0
  51. package/dist/structured/skill-runner.d.ts +15 -0
  52. package/dist/structured/skill-runner.js +60 -0
  53. package/dist/structured/skill-runner.js.map +1 -0
  54. package/dist/structured/types.d.ts +212 -0
  55. package/dist/structured/types.js +97 -0
  56. package/dist/structured/types.js.map +1 -0
  57. package/dist/structured-skills-commands.d.ts +3 -0
  58. package/dist/structured-skills-commands.js +126 -0
  59. package/dist/structured-skills-commands.js.map +1 -0
  60. package/dist/structured-template-commands.d.ts +2 -0
  61. package/dist/structured-template-commands.js +34 -0
  62. package/dist/structured-template-commands.js.map +1 -0
  63. package/dist/tools/index.d.ts +3 -0
  64. package/dist/tools/index.js +450 -0
  65. package/dist/tools/index.js.map +1 -0
  66. package/dist/ui.d.ts +19 -0
  67. package/dist/ui.js +72 -0
  68. package/dist/ui.js.map +1 -0
  69. package/dist/web.d.ts +4 -0
  70. package/dist/web.js +124 -0
  71. package/dist/web.js.map +1 -0
  72. package/knowledge/advanced-patterns.md +70 -0
  73. package/knowledge/agent-directives.md +74 -0
  74. package/knowledge/dream.md +36 -0
  75. package/knowledge/engineering.md +46 -0
  76. package/knowledge/error-catalog.md +33 -0
  77. package/knowledge/index.json +170 -0
  78. package/knowledge/memory/cache-optimization-and-skill-integration.md +102 -0
  79. package/knowledge/memory/engineering-patterns.md +134 -0
  80. package/knowledge/memory/feedback_root_structure.md +16 -0
  81. package/knowledge/memory/project-contexts.md +69 -0
  82. package/knowledge/memory/tools-and-services.md +85 -0
  83. package/knowledge/rules/agents.md +62 -0
  84. package/knowledge/rules/blocking-rules.md +323 -0
  85. package/knowledge/rules/cache-management.md +379 -0
  86. package/knowledge/rules/capability-evolution.md +132 -0
  87. package/knowledge/rules/coding.md +126 -0
  88. package/knowledge/rules/engineering-workflows.md +225 -0
  89. package/knowledge/rules/evomap-content-guidelines.md +354 -0
  90. package/knowledge/rules/evomap-guide.md +224 -0
  91. package/knowledge/rules/git.md +31 -0
  92. package/knowledge/rules/hooks.md +106 -0
  93. package/knowledge/rules/performance.md +101 -0
  94. package/knowledge/rules/remotion-auto-production.md +1120 -0
  95. package/knowledge/rules/security.md +46 -0
  96. package/knowledge/rules/testing.md +32 -0
  97. package/knowledge/rules/work-mode.md +208 -0
  98. package/knowledge/rules.md +62 -0
  99. package/knowledge/skills/Skill_Seekers.md +1722 -0
  100. package/knowledge/skills/ab-test-setup.md +557 -0
  101. package/knowledge/skills/agent-sdk-dev.md +238 -0
  102. package/knowledge/skills/agent-tools.md +136 -0
  103. package/knowledge/skills/analytics-tracking.md +597 -0
  104. package/knowledge/skills/artifacts-builder.md +89 -0
  105. package/knowledge/skills/asana.md +13 -0
  106. package/knowledge/skills/backend-expert.md +97 -0
  107. package/knowledge/skills/brand-voice.md +481 -0
  108. package/knowledge/skills/browser-use.md +419 -0
  109. package/knowledge/skills/cache-optimization-skill.md +179 -0
  110. package/knowledge/skills/canvas-design.md +147 -0
  111. package/knowledge/skills/citation-validator.md +203 -0
  112. package/knowledge/skills/clangd-lsp.md +52 -0
  113. package/knowledge/skills/code-review-expert.md +85 -0
  114. package/knowledge/skills/code-review.md +280 -0
  115. package/knowledge/skills/code-simplifier.md +13 -0
  116. package/knowledge/skills/commit-commands.md +258 -0
  117. package/knowledge/skills/competitor-alternatives.md +795 -0
  118. package/knowledge/skills/content-atomizer.md +910 -0
  119. package/knowledge/skills/content-research-writer.md +605 -0
  120. package/knowledge/skills/context-optimization-suite.md +162 -0
  121. package/knowledge/skills/context7.md +13 -0
  122. package/knowledge/skills/copy-editing.md +494 -0
  123. package/knowledge/skills/copywriting.md +510 -0
  124. package/knowledge/skills/csharp-lsp.md +40 -0
  125. package/knowledge/skills/decision-making-framework.md +154 -0
  126. package/knowledge/skills/developer-growth-analysis.md +335 -0
  127. package/knowledge/skills/direct-response-copy.md +2336 -0
  128. package/knowledge/skills/docker-expert.md +229 -0
  129. package/knowledge/skills/document-skills.md +13 -0
  130. package/knowledge/skills/documentation-expert.md +126 -0
  131. package/knowledge/skills/email-sequence.md +1061 -0
  132. package/knowledge/skills/email-sequences.md +910 -0
  133. package/knowledge/skills/example-plugin.md +72 -0
  134. package/knowledge/skills/explanatory-output-style.md +82 -0
  135. package/knowledge/skills/feature-dev.md +458 -0
  136. package/knowledge/skills/file-organizer.md +466 -0
  137. package/knowledge/skills/firebase.disabled.md +13 -0
  138. package/knowledge/skills/form-cro.md +488 -0
  139. package/knowledge/skills/free-tool-strategy.md +636 -0
  140. package/knowledge/skills/frontend-design-offical.md +55 -0
  141. package/knowledge/skills/frontend-design.md +41 -0
  142. package/knowledge/skills/frontend-expert.md +93 -0
  143. package/knowledge/skills/github.md +13 -0
  144. package/knowledge/skills/gitlab.md +13 -0
  145. package/knowledge/skills/gopls-lsp.md +32 -0
  146. package/knowledge/skills/got-controller.md +218 -0
  147. package/knowledge/skills/greptile.md +72 -0
  148. package/knowledge/skills/hookify.md +376 -0
  149. package/knowledge/skills/image-editor.md +189 -0
  150. package/knowledge/skills/image-enhancer.md +109 -0
  151. package/knowledge/skills/jdtls-lsp.md +49 -0
  152. package/knowledge/skills/json-canvas.md +654 -0
  153. package/knowledge/skills/keyword-research.md +559 -0
  154. package/knowledge/skills/kotlin-lsp.md +28 -0
  155. package/knowledge/skills/laravel-boost.md +13 -0
  156. package/knowledge/skills/launch-strategy.md +394 -0
  157. package/knowledge/skills/lead-magnet.md +393 -0
  158. package/knowledge/skills/learning-output-style.md +106 -0
  159. package/knowledge/skills/linear.md +13 -0
  160. package/knowledge/skills/lua-lsp.md +47 -0
  161. package/knowledge/skills/marketing-ideas.md +720 -0
  162. package/knowledge/skills/marketing-psychology.md +534 -0
  163. package/knowledge/skills/mcp-builder.md +369 -0
  164. package/knowledge/skills/meeting-insights-analyzer.md +347 -0
  165. package/knowledge/skills/memory-evolution-system.md +172 -0
  166. package/knowledge/skills/multi-lens-thinking.md +407 -0
  167. package/knowledge/skills/nano-banana-pro.md +116 -0
  168. package/knowledge/skills/newsletter.md +736 -0
  169. package/knowledge/skills/notebooklm.md +296 -0
  170. package/knowledge/skills/obsidian-bases.md +634 -0
  171. package/knowledge/skills/obsidian-markdown.md +651 -0
  172. package/knowledge/skills/onboarding-cro.md +494 -0
  173. package/knowledge/skills/orchestrator.md +681 -0
  174. package/knowledge/skills/page-cro.md +379 -0
  175. package/knowledge/skills/paid-ads.md +624 -0
  176. package/knowledge/skills/paywall-upgrade-cro.md +651 -0
  177. package/knowledge/skills/php-lsp.md +36 -0
  178. package/knowledge/skills/planning-with-files.md +193 -0
  179. package/knowledge/skills/playwright.md +13 -0
  180. package/knowledge/skills/plugin-dev.md +434 -0
  181. package/knowledge/skills/popup-cro.md +520 -0
  182. package/knowledge/skills/positioning-angles.md +330 -0
  183. package/knowledge/skills/pr-review-toolkit.md +359 -0
  184. package/knowledge/skills/pricing-strategy.md +777 -0
  185. package/knowledge/skills/programmatic-seo.md +714 -0
  186. package/knowledge/skills/pyright-lsp.md +43 -0
  187. package/knowledge/skills/quality-assurance-framework.md +168 -0
  188. package/knowledge/skills/question-refiner.md +160 -0
  189. package/knowledge/skills/ralph-loop.md +205 -0
  190. package/knowledge/skills/refactoring-expert.md +103 -0
  191. package/knowledge/skills/referral-program.md +668 -0
  192. package/knowledge/skills/research-executor.md +164 -0
  193. package/knowledge/skills/review-with-security.md +12 -0
  194. package/knowledge/skills/rust-analyzer-lsp.md +50 -0
  195. package/knowledge/skills/schema-markup.md +647 -0
  196. package/knowledge/skills/security-audit-expert.md +124 -0
  197. package/knowledge/skills/security-expert.md +140 -0
  198. package/knowledge/skills/security-guidance.md +13 -0
  199. package/knowledge/skills/seedance-prompt.md +139 -0
  200. package/knowledge/skills/self-evolution.md +1160 -0
  201. package/knowledge/skills/seo-audit.md +432 -0
  202. package/knowledge/skills/seo-content.md +787 -0
  203. package/knowledge/skills/serena.md +13 -0
  204. package/knowledge/skills/signup-flow-cro.md +409 -0
  205. package/knowledge/skills/skill-creator.md +220 -0
  206. package/knowledge/skills/skill-manager.md +226 -0
  207. package/knowledge/skills/skill-share.md +98 -0
  208. package/knowledge/skills/slack.md +13 -0
  209. package/knowledge/skills/social-content.md +878 -0
  210. package/knowledge/skills/spec-flow-skill.md +124 -0
  211. package/knowledge/skills/stripe.md +13 -0
  212. package/knowledge/skills/supabase.md +13 -0
  213. package/knowledge/skills/swift-lsp.md +40 -0
  214. package/knowledge/skills/synthesizer.md +236 -0
  215. package/knowledge/skills/template-skill.md +16 -0
  216. package/knowledge/skills/testing-expert.md +99 -0
  217. package/knowledge/skills/theme-factory.md +72 -0
  218. package/knowledge/skills/tiktok-research.md +208 -0
  219. package/knowledge/skills/typescript-lsp.md +36 -0
  220. package/knowledge/skills/ui-ux-pro-max.md +247 -0
  221. package/knowledge/skills/verify.md +15 -0
  222. package/knowledge/skills/visual-prompt-engineer.md +102 -0
  223. package/knowledge/skills/webapp-testing.md +111 -0
  224. package/knowledge/skills/wide-research.md +191 -0
  225. package/knowledge/system.md +93 -0
  226. package/knowledge/task-router.md +37 -0
  227. package/knowledge/verification.md +38 -0
  228. package/knowledge/workflows/3d-viz.md +47 -0
  229. package/knowledge/workflows/data-pipeline.md +47 -0
  230. package/knowledge/workflows/db-migration.md +51 -0
  231. package/knowledge/workflows/feature-dev.md +41 -0
  232. package/knowledge/workflows/tdd-flow.md +52 -0
  233. package/knowledge/workflows/ui-verify.md +51 -0
  234. package/package.json +60 -0
@@ -0,0 +1,651 @@
1
+ ---
2
+ id: "obsidian-markdown"
3
+ title: "Obsidian Flavored Markdown Skill"
4
+ category: "knowledge"
5
+ tags: ["overview", "basic formatting", "heading 1", "heading 2", "internal links (wikilinks)", "markdown-style links", "embeds", "callouts", "lists", "quotes"]
6
+ triggers: []
7
+ dependencies: []
8
+ source: "E:/Bobo's Coding cache/.claude/skills/obsidian-markdown"
9
+ ---
10
+
11
+ ---
12
+ name: obsidian-markdown
13
+ description: Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax. Use when working with .md files in Obsidian, or when the user mentions wikilinks, callouts, frontmatter, tags, embeds, or Obsidian notes.
14
+ ---
15
+
16
+ # Obsidian Flavored Markdown Skill
17
+
18
+ This skill enables Claude Code to create and edit valid Obsidian Flavored Markdown, including all Obsidian-specific syntax extensions.
19
+
20
+ ## Overview
21
+
22
+ Obsidian uses a combination of Markdown flavors:
23
+
24
+ - [CommonMark](https://commonmark.org/)
25
+ - [GitHub Flavored Markdown](https://github.github.com/gfm/)
26
+ - [LaTeX](https://www.latex-project.org/) for math
27
+ - Obsidian-specific extensions (wikilinks, callouts, embeds, etc.)
28
+
29
+ ## Basic Formatting
30
+
31
+ ### Paragraphs and Line Breaks
32
+
33
+ ```markdown
34
+ This is a paragraph.
35
+
36
+ This is another paragraph (blank line between creates separate paragraphs).
37
+
38
+ For a line break within a paragraph, add two spaces at the end
39
+ or use Shift+Enter.
40
+ ```
41
+
42
+ ### Headings
43
+
44
+ ```markdown
45
+ # Heading 1
46
+
47
+ ## Heading 2
48
+
49
+ ### Heading 3
50
+
51
+ #### Heading 4
52
+
53
+ ##### Heading 5
54
+
55
+ ###### Heading 6
56
+ ```
57
+
58
+ ### Text Formatting
59
+
60
+ | Style | Syntax | Example | Output |
61
+ | ------------- | ------------------------ | ----------------- | --------------- |
62
+ | Bold | `**text**` or `__text__` | `**Bold**` | **Bold** |
63
+ | Italic | `*text*` or `_text_` | `*Italic*` | _Italic_ |
64
+ | Bold + Italic | `***text***` | `***Both***` | **_Both_** |
65
+ | Strikethrough | `~~text~~` | `~~Striked~~` | ~~Striked~~ |
66
+ | Highlight | `==text==` | `==Highlighted==` | ==Highlighted== |
67
+ | Inline code | `` `code` `` | `` `code` `` | `code` |
68
+
69
+ ### Escaping Formatting
70
+
71
+ Use backslash to escape special characters:
72
+
73
+ ```markdown
74
+ \*This won't be italic\*
75
+ \#This won't be a heading
76
+ 1\. This won't be a list item
77
+ ```
78
+
79
+ Common characters to escape: `\*`, `\_`, `\#`, `` \` ``, `\|`, `\~`
80
+
81
+ ## Internal Links (Wikilinks)
82
+
83
+ ### Basic Links
84
+
85
+ ```markdown
86
+ [[Note Name]]
87
+ [[Note Name.md]]
88
+ [[Note Name|Display Text]]
89
+ ```
90
+
91
+ ### Link to Headings
92
+
93
+ ```markdown
94
+ [[Note Name#Heading]]
95
+ [[Note Name#Heading|Custom Text]]
96
+ [[#Heading in same note]]
97
+ [[##Search all headings in vault]]
98
+ ```
99
+
100
+ ### Link to Blocks
101
+
102
+ ```markdown
103
+ [[Note Name#^block-id]]
104
+ [[Note Name#^block-id|Custom Text]]
105
+ ```
106
+
107
+ Define a block ID by adding `^block-id` at the end of a paragraph:
108
+
109
+ ```markdown
110
+ This is a paragraph that can be linked to. ^my-block-id
111
+ ```
112
+
113
+ For lists and quotes, add the block ID on a separate line:
114
+
115
+ ```markdown
116
+ > This is a quote
117
+ > With multiple lines
118
+
119
+ ^quote-id
120
+ ```
121
+
122
+ ### Search Links
123
+
124
+ ```markdown
125
+ [[##heading]] Search for headings containing "heading"
126
+ [[^^block]] Search for blocks containing "block"
127
+ ```
128
+
129
+ ## Markdown-Style Links
130
+
131
+ ```markdown
132
+ [Display Text](Note%20Name.md)
133
+ [Display Text](Note%20Name.md#Heading)
134
+ [Display Text](https://example.com)
135
+ [Note](obsidian://open?vault=VaultName&file=Note.md)
136
+ ```
137
+
138
+ Note: Spaces must be URL-encoded as `%20` in Markdown links.
139
+
140
+ ## Embeds
141
+
142
+ ### Embed Notes
143
+
144
+ ```markdown
145
+ ![[Note Name]]
146
+ ![[Note Name#Heading]]
147
+ ![[Note Name#^block-id]]
148
+ ```
149
+
150
+ ### Embed Images
151
+
152
+ ```markdown
153
+ ![[image.png]]
154
+ ![[image.png|640x480]] Width x Height
155
+ ![[image.png|300]] Width only (maintains aspect ratio)
156
+ ```
157
+
158
+ ### External Images
159
+
160
+ ```markdown
161
+ ![Alt text](https://example.com/image.png)
162
+ ![Alt text|300](https://example.com/image.png)
163
+ ```
164
+
165
+ ### Embed Audio
166
+
167
+ ```markdown
168
+ ![[audio.mp3]]
169
+ ![[audio.ogg]]
170
+ ```
171
+
172
+ ### Embed PDF
173
+
174
+ ```markdown
175
+ ![[document.pdf]]
176
+ ![[document.pdf#page=3]]
177
+ ![[document.pdf#height=400]]
178
+ ```
179
+
180
+ ### Embed Lists
181
+
182
+ ```markdown
183
+ ![[Note#^list-id]]
184
+ ```
185
+
186
+ Where the list has been defined with a block ID:
187
+
188
+ ```markdown
189
+ - Item 1
190
+ - Item 2
191
+ - Item 3
192
+
193
+ ^list-id
194
+ ```
195
+
196
+ ### Embed Search Results
197
+
198
+ ````markdown
199
+ ```query
200
+ tag:#project status:done
201
+ ```
202
+ ````
203
+
204
+ ## Callouts
205
+
206
+ ### Basic Callout
207
+
208
+ ```markdown
209
+ > [!note]
210
+ > This is a note callout.
211
+
212
+ > [!info] Custom Title
213
+ > This callout has a custom title.
214
+
215
+ > [!tip] Title Only
216
+ ```
217
+
218
+ ### Foldable Callouts
219
+
220
+ ```markdown
221
+ > [!faq]- Collapsed by default
222
+ > This content is hidden until expanded.
223
+
224
+ > [!faq]+ Expanded by default
225
+ > This content is visible but can be collapsed.
226
+ ```
227
+
228
+ ### Nested Callouts
229
+
230
+ ```markdown
231
+ > [!question] Outer callout
232
+ >
233
+ > > [!note] Inner callout
234
+ > > Nested content
235
+ ```
236
+
237
+ ### Supported Callout Types
238
+
239
+ | Type | Aliases | Description |
240
+ | ---------- | ---------------------- | --------------------- |
241
+ | `note` | - | Blue, pencil icon |
242
+ | `abstract` | `summary`, `tldr` | Teal, clipboard icon |
243
+ | `info` | - | Blue, info icon |
244
+ | `todo` | - | Blue, checkbox icon |
245
+ | `tip` | `hint`, `important` | Cyan, flame icon |
246
+ | `success` | `check`, `done` | Green, checkmark icon |
247
+ | `question` | `help`, `faq` | Yellow, question mark |
248
+ | `warning` | `caution`, `attention` | Orange, warning icon |
249
+ | `failure` | `fail`, `missing` | Red, X icon |
250
+ | `danger` | `error` | Red, zap icon |
251
+ | `bug` | - | Red, bug icon |
252
+ | `example` | - | Purple, list icon |
253
+ | `quote` | `cite` | Gray, quote icon |
254
+
255
+ ### Custom Callouts (CSS)
256
+
257
+ ```css
258
+ .callout[data-callout='custom-type'] {
259
+ --callout-color: 255, 0, 0;
260
+ --callout-icon: lucide-alert-circle;
261
+ }
262
+ ```
263
+
264
+ ## Lists
265
+
266
+ ### Unordered Lists
267
+
268
+ ```markdown
269
+ - Item 1
270
+ - Item 2
271
+ - Nested item
272
+ - Another nested
273
+ - Item 3
274
+
275
+ * Also works with asterisks
276
+
277
+ - Or plus signs
278
+ ```
279
+
280
+ ### Ordered Lists
281
+
282
+ ```markdown
283
+ 1. First item
284
+ 2. Second item
285
+ 1. Nested numbered
286
+ 2. Another nested
287
+ 3. Third item
288
+
289
+ 1) Alternative syntax
290
+ 2) With parentheses
291
+ ```
292
+
293
+ ### Task Lists
294
+
295
+ ```markdown
296
+ - [ ] Incomplete task
297
+ - [x] Completed task
298
+ - [ ] Task with sub-tasks
299
+ - [ ] Subtask 1
300
+ - [x] Subtask 2
301
+ ```
302
+
303
+ ## Quotes
304
+
305
+ ```markdown
306
+ > This is a blockquote.
307
+ > It can span multiple lines.
308
+ >
309
+ > And include multiple paragraphs.
310
+ >
311
+ > > Nested quotes work too.
312
+ ```
313
+
314
+ ## Code
315
+
316
+ ### Inline Code
317
+
318
+ ```markdown
319
+ Use `backticks` for inline code.
320
+ Use double backticks for ``code with a ` backtick inside``.
321
+ ```
322
+
323
+ ### Code Blocks
324
+
325
+ ````markdown
326
+ ```
327
+ Plain code block
328
+ ```
329
+
330
+ ```javascript
331
+ // Syntax highlighted code block
332
+ function hello() {
333
+ console.log('Hello, world!');
334
+ }
335
+ ```
336
+
337
+ ```python
338
+ # Python example
339
+ def greet(name):
340
+ print(f"Hello, {name}!")
341
+ ```
342
+ ````
343
+
344
+ ### Nesting Code Blocks
345
+
346
+ Use more backticks or tildes for the outer block:
347
+
348
+ `````markdown
349
+ ````markdown
350
+ Here's how to create a code block:
351
+
352
+ ```js
353
+ console.log('Hello');
354
+ ```
355
+ ````
356
+ `````
357
+
358
+ ## Tables
359
+
360
+ ```markdown
361
+ | Header 1 | Header 2 | Header 3 |
362
+ | -------- | -------- | -------- |
363
+ | Cell 1 | Cell 2 | Cell 3 |
364
+ | Cell 4 | Cell 5 | Cell 6 |
365
+ ```
366
+
367
+ ### Alignment
368
+
369
+ ```markdown
370
+ | Left | Center | Right |
371
+ | :--- | :----: | ----: |
372
+ | Left | Center | Right |
373
+ ```
374
+
375
+ ### Using Pipes in Tables
376
+
377
+ Escape pipes with backslash:
378
+
379
+ ```markdown
380
+ | Column 1 | Column 2 |
381
+ | ----------------- | --------------- |
382
+ | [[Link\|Display]] | ![[Image\|100]] |
383
+ ```
384
+
385
+ ## Math (LaTeX)
386
+
387
+ ### Inline Math
388
+
389
+ ```markdown
390
+ This is inline math: $e^{i\pi} + 1 = 0$
391
+ ```
392
+
393
+ ### Block Math
394
+
395
+ ```markdown
396
+ $$
397
+ \begin{vmatrix}
398
+ a & b \\
399
+ c & d
400
+ \end{vmatrix} = ad - bc
401
+ $$
402
+ ```
403
+
404
+ ### Common Math Syntax
405
+
406
+ ```markdown
407
+ $x^2$ Superscript
408
+ $x_i$ Subscript
409
+ $\frac{a}{b}$ Fraction
410
+ $\sqrt{x}$ Square root
411
+ $\sum_{i=1}^{n}$ Summation
412
+ $\int_a^b$ Integral
413
+ $\alpha, \beta$ Greek letters
414
+ ```
415
+
416
+ ## Diagrams (Mermaid)
417
+
418
+ ````markdown
419
+ ```mermaid
420
+ graph TD
421
+ A[Start] --> B{Decision}
422
+ B -->|Yes| C[Do this]
423
+ B -->|No| D[Do that]
424
+ C --> E[End]
425
+ D --> E
426
+ ```
427
+ ````
428
+
429
+ ### Sequence Diagrams
430
+
431
+ ````markdown
432
+ ```mermaid
433
+ sequenceDiagram
434
+ Alice->>Bob: Hello Bob
435
+ Bob-->>Alice: Hi Alice
436
+ ```
437
+ ````
438
+
439
+ ### Linking in Diagrams
440
+
441
+ ````markdown
442
+ ```mermaid
443
+ graph TD
444
+ A[Biology]
445
+ B[Chemistry]
446
+ A --> B
447
+ class A,B internal-link;
448
+ ```
449
+ ````
450
+
451
+ ## Footnotes
452
+
453
+ ```markdown
454
+ This sentence has a footnote[^1].
455
+
456
+ [^1]: This is the footnote content.
457
+
458
+ You can also use named footnotes[^note].
459
+
460
+ [^note]: Named footnotes still appear as numbers.
461
+
462
+ Inline footnotes are also supported.^[This is an inline footnote.]
463
+ ```
464
+
465
+ ## Comments
466
+
467
+ ```markdown
468
+ This is visible %%but this is hidden%% text.
469
+
470
+ %%
471
+ This entire block is hidden.
472
+ It won't appear in reading view.
473
+ %%
474
+ ```
475
+
476
+ ## Horizontal Rules
477
+
478
+ ```markdown
479
+ ---
480
+ ---
481
+
482
+ ---
483
+
484
+ ---
485
+
486
+ ---
487
+ ```
488
+
489
+ ## Properties (Frontmatter)
490
+
491
+ Properties use YAML frontmatter at the start of a note:
492
+
493
+ ```yaml
494
+ ---
495
+ title: My Note Title
496
+ date: 2024-01-15
497
+ tags:
498
+ - project
499
+ - important
500
+ aliases:
501
+ - My Note
502
+ - Alternative Name
503
+ cssclasses:
504
+ - custom-class
505
+ status: in-progress
506
+ rating: 4.5
507
+ completed: false
508
+ due: 2024-02-01T14:30:00
509
+ ---
510
+ ```
511
+
512
+ ### Property Types
513
+
514
+ | Type | Example |
515
+ | ----------- | ------------------------------- |
516
+ | Text | `title: My Title` |
517
+ | Number | `rating: 4.5` |
518
+ | Checkbox | `completed: true` |
519
+ | Date | `date: 2024-01-15` |
520
+ | Date & Time | `due: 2024-01-15T14:30:00` |
521
+ | List | `tags: [one, two]` or YAML list |
522
+ | Links | `related: "[[Other Note]]"` |
523
+
524
+ ### Default Properties
525
+
526
+ - `tags` - Note tags
527
+ - `aliases` - Alternative names for the note
528
+ - `cssclasses` - CSS classes applied to the note
529
+
530
+ ## Tags
531
+
532
+ ```markdown
533
+ #tag
534
+ #nested/tag
535
+ #tag-with-dashes
536
+ #tag_with_underscores
537
+
538
+ ## In frontmatter:
539
+
540
+ tags:
541
+
542
+ - tag1
543
+ - nested/tag2
544
+
545
+ ---
546
+ ```
547
+
548
+ Tags can contain:
549
+
550
+ - Letters (any language)
551
+ - Numbers (not as first character)
552
+ - Underscores `_`
553
+ - Hyphens `-`
554
+ - Forward slashes `/` (for nesting)
555
+
556
+ ## HTML Content
557
+
558
+ Obsidian supports HTML within Markdown:
559
+
560
+ ```markdown
561
+ <div class="custom-container">
562
+ <span style="color: red;">Colored text</span>
563
+ </div>
564
+
565
+ <details>
566
+ <summary>Click to expand</summary>
567
+ Hidden content here.
568
+ </details>
569
+
570
+ <kbd>Ctrl</kbd> + <kbd>C</kbd>
571
+ ```
572
+
573
+ ## Complete Example
574
+
575
+ ````markdown
576
+ ---
577
+ title: Project Alpha
578
+ date: 2024-01-15
579
+ tags:
580
+ - project
581
+ - active
582
+ status: in-progress
583
+ priority: high
584
+ ---
585
+
586
+ # Project Alpha
587
+
588
+ ## Overview
589
+
590
+ This project aims to [[improve workflow]] using modern techniques.
591
+
592
+ > [!important] Key Deadline
593
+ > The first milestone is due on ==January 30th==.
594
+
595
+ ## Tasks
596
+
597
+ - [x] Initial planning
598
+ - [x] Resource allocation
599
+ - [ ] Development phase
600
+ - [ ] Backend implementation
601
+ - [ ] Frontend design
602
+ - [ ] Testing
603
+ - [ ] Deployment
604
+
605
+ ## Technical Notes
606
+
607
+ The main algorithm uses the formula $O(n \log n)$ for sorting.
608
+
609
+ ```python
610
+ def process_data(items):
611
+ return sorted(items, key=lambda x: x.priority)
612
+ ```
613
+
614
+ ## Architecture
615
+
616
+ ```mermaid
617
+ graph LR
618
+ A[Input] --> B[Process]
619
+ B --> C[Output]
620
+ B --> D[Cache]
621
+ ```
622
+
623
+ ## Related Documents
624
+
625
+ - ![[Meeting Notes 2024-01-10#Decisions]]
626
+ - [[Budget Allocation|Budget]]
627
+ - [[Team Members]]
628
+
629
+ ## References
630
+
631
+ For more details, see the official documentation[^1].
632
+
633
+ [^1]: https://example.com/docs
634
+
635
+ %%
636
+ Internal notes:
637
+
638
+ - Review with team on Friday
639
+ - Consider alternative approaches
640
+ %%
641
+ ````
642
+
643
+ ## References
644
+
645
+ - [Basic formatting syntax](https://help.obsidian.md/syntax)
646
+ - [Advanced formatting syntax](https://help.obsidian.md/advanced-syntax)
647
+ - [Obsidian Flavored Markdown](https://help.obsidian.md/obsidian-flavored-markdown)
648
+ - [Internal links](https://help.obsidian.md/links)
649
+ - [Embed files](https://help.obsidian.md/embeds)
650
+ - [Callouts](https://help.obsidian.md/callouts)
651
+ - [Properties](https://help.obsidian.md/properties)