|
247 | 247 | "\n",
|
248 | 248 | "\n",
|
249 | 249 | "\n",
|
250 |
| - "Each level keeps its own style, icon, and background overlay, making complex structures more readable.\n", |
251 |
| - "\n", |
252 |
| - "## Final Tips\n", |
253 |
| - "\n", |
254 |
| - "* Define custom callout names that suit your workflow, like `note`, `figure`, `equation`, `bug`, or `reminder`.\n", |
255 |
| - "* Use `:root` variables to keep your colors consistent across different callouts and future-proof your CSS.\n", |
256 |
| - "* Match your callouts to your Obsidian theme for a more cohesive visual experience.\n", |
257 |
| - "* Use icons from [Lucide](https://lucide.dev/) to make each callout instantly recognizable.\n", |
258 |
| - "* Experiment with different background opacities to find the right balance for readability.\n", |
259 |
| - "* Consider using foldable callouts to keep your notes tidy and focused.\n" |
| 250 | + "Each level keeps its own style, icon, and background overlay, making complex structures more readable." |
260 | 251 | ]
|
261 | 252 | },
|
262 | 253 | {
|
|
268 | 259 | "\n",
|
269 | 260 | "Below is the complete CSS file I use for my custom callouts in Obsidian. The colour variables are defined at the top using the Dracula theme palette, but you can easily swap them out to match your own preferred colour scheme.\n",
|
270 | 261 | "\n",
|
271 |
| - "I use a variety of callouts to visually organise different types of content in my notes. For instance, `figure` and `equation` callouts highlight key diagrams and mathematical expressions, while `theorem` is used to frame formal results. I use `example` to walk through concepts, `todo` to track ongoing tasks, and `tip` or `important` to emphasise helpful insights. For summarising ideas, I use `abstract` and `summary`, and I reserve `bug`, `fail`, and `error` to flag issues or areas needing revision. Each callout is styled with a Dracula-inspired colour overlay to maintain visual consistency across my workspace." |
272 |
| - ] |
273 |
| - }, |
274 |
| - { |
275 |
| - "cell_type": "markdown", |
276 |
| - "id": "303605ec", |
277 |
| - "metadata": { |
278 |
| - "tags": [ |
279 |
| - "hide-input" |
280 |
| - ] |
281 |
| - }, |
282 |
| - "source": [ |
| 262 | + "I use a variety of callouts to visually organise different types of content in my notes. For instance, `figure` and `equation` callouts highlight key diagrams and mathematical expressions, while `theorem` is used to frame formal results. I use `example` to walk through concepts, `todo` to track ongoing tasks, and `tip` or `important` to emphasise helpful insights. For summarising ideas, I use `abstract` and `summary`, and I reserve `bug`, `fail`, and `error` to flag issues or areas needing revision. Each callout is styled with a Dracula-inspired colour overlay to maintain visual consistency across my workspace.\n", |
| 263 | + "\n", |
| 264 | + "```{admonition} Custom Callouts CSS\n", |
| 265 | + ":class: note, dropdown\n", |
283 | 266 | "```css\n",
|
284 | 267 | ":root {\n",
|
285 | 268 | " /* Dracula base palette*/\n",
|
|
433 | 416 | " --callout-icon: lucide-help-circle;\n",
|
434 | 417 | " background-color: rgba(var(--drac-yellow-rgb), 0.2);\n",
|
435 | 418 | "}\n",
|
436 |
| - "```" |
| 419 | + "```\n", |
| 420 | + "```\n" |
437 | 421 | ]
|
438 | 422 | },
|
439 | 423 | {
|
440 | 424 | "cell_type": "markdown",
|
441 | 425 | "id": "3950a611",
|
442 | 426 | "metadata": {},
|
443 | 427 | "source": [
|
444 |
| - "## Useful Links\n", |
445 |
| - "\n", |
446 |
| - "* [📘 Obsidian Callouts Documentation](https://help.obsidian.md/Editing+and+formatting/Callouts)\n", |
447 |
| - "* [🎨 Lucide Icon Library](https://lucide.dev/)\n", |
448 |
| - "\n", |
449 |
| - "---\n", |
450 |
| - "\n", |
451 | 428 | "## Final Tips\n",
|
452 | 429 | "\n",
|
453 |
| - "* You can define as many custom callouts as you like, one for each purpose.\n", |
454 |
| - "* Keep your styles readable by using soft background `rgba` values or stick to the consistent colours of your theme.\n", |
455 |
| - "* Consider matching your callouts to your Obsidian theme for a cohesive look.\n", |
456 |
| - "* You can also use custom icons from the [Lucide Icon Library](https://lucide.dev/) to make your callouts more visually appealing.\n" |
| 430 | + "* Define custom callout names that suit your workflow, like `note`, `figure`, `equation`, `bug`, or `reminder`.\n", |
| 431 | + "* Use `:root` variables to keep your colors consistent across different callouts and future-proof your CSS.\n", |
| 432 | + "* Match your callouts to your Obsidian theme for a more cohesive visual experience.\n", |
| 433 | + "* Use icons from [Lucide](https://lucide.dev/) to make each callout instantly recognizable.\n", |
| 434 | + "* Experiment with different background opacities to find the right balance for readability.\n", |
| 435 | + "* Consider using foldable callouts to keep your notes tidy and focused." |
457 | 436 | ]
|
458 | 437 | }
|
459 | 438 | ],
|
|
0 commit comments