5. Become A Pro
1. Some Useful CSS snippets
I also use these css snippets in my daily-work, you can download them from here .
- Copy
.cssfiles into your vault:.obsidian/snippets/ - Enable it in Obsidian:
Settings -> Appearance -> CSS snippets
| File Name | Description |
|---|---|
triple_line_table.css |
Booktabs-style tables (top/mid/bottom rules), removes borders/striping, and adds a subtle row hover. (Good for you to screen-shot and past in some report) |
better_table_align.css |
Centers tables, left-aligns the first column, and centers all remaining columns. |
callouts.css |
A copy of callout.css. Adds callout color presets via metadata (e.g., |red, |blue) and maps many Lucide icons to callouts by name. |
figures_centering.css |
(Reading mode only) Centers images and embeds by making them display: block with auto inline margins. |
2. Auto-numbering tricks
(1) Ignore a heading from heading list
This is a common case when you are drafting an essay and there are several chapters before the first chapter, like Abstract or Preface. If you don’t want to share the numbering between abstract and the main part, you can use HTML format for headings.
<h1> Abstract </h1>
The above heading will be ignored from the auto-numbering heading list. You can check settings > Basic > Auto number no heading prefix and set it as you need (e.g., A), then the result would just like :
<h1> Abstract </h1>
$$... \tag{A1}$$
# Chapter1
$$... \tag{1.1}$$
(2) Use boxed equation workflow
For some people with heavy derivations, they may use Auto number tagged equations only and more options > filters > filter tagged only items. But this still need manually add tags, so I suggest boxed equation workflow here :
You can use Box current equation to add \boxed{} to those important equations. Then in equation panel, use more options > filters > filter boxed equations to arrange them.
This plugin also support adding box in typst mode, by default its "boxed", which consists with typst-mate (see issue #140) Typst box symbol
2. Figure & Table Citation Tricks
(1) Editing a Table Inside a Callout More Easily
Editing tables inside callouts can be awkward because each line begins with >. Here is a workflow to simplify that (see also feature #7):
- Temporarily remove the quote markers:
- Use
Ctrl + Shift+ vertical drag (to place multiple cursors). - Delete the leading
>from each table line.
- Use
- Edit the table normally.
- Re-wrap the table in a callout:
- Insert a callout (e.g. press
Ctrl + Q) to re-add>to all lines. - Ensure the callout header line (e.g.> [!note]) is positioned correctly above the table. - Merge adjoining blocks if they are split.
(2) Better callout-citation style
We won’t support auto-number for callouts, since multiple auto-number type would be messy,
Instead, I suggest using Name-aware numbering, i.e. table:navdia-rtx-cards Table. navdia-rtx-cards instead of 1.1, so that you won’t need to re-auto-number them. I also suggest using this for theorems and equations within callouts.
NVIDIA RTX Graphics Card Comparison
Specification RTX 3060 RTX 4060 RTX 4070 RTX 4080 RTX 4090 Architecture Ampere Ada Lovelace Ada Lovelace Ada Lovelace Ada Lovelace CUDA Cores 3,584 3,072 5,888 9,728 16,384 VRAM 12 GB GDDR6 8 GB GDDR6 12 GB GDDR6X 16 GB GDDR6X 24 GB GDDR6X Memory Bus 192-bit 128-bit 192-bit 256-bit 384-bit Base Clock 1,320 MHz 1,830 MHz 1,920 MHz 2,205 MHz 2,235 MHz Boost Clock 1,777 MHz 2,460 MHz 2,475 MHz 2,505 MHz 2,520 MHz Tensor Cores (Gen) 3rd Gen 4th Gen 4th Gen 4th Gen 4th Gen AV1 Encoding ❌ ✅ ✅ ✅ ✅ Launch Price (MSRP) $329 $299 $599 $1,199 $1,599 Best For 1080p Gaming 1080p/1440p 1440p Gaming 4K Gaming 8K/Professional
3. Move Equations and Footnotes from One File into Another
When migrating a section (including equations and footnotes) into a larger document while preserving clean numbering, you should follow these steps (a little tedious though).
Step 1. Update Footnote References Before Moving
If your source file has footnote definitions like:
[^2]: Some note referencing [[test article]]
And the target file already uses footnotes up to [^5], then:
- Rename
[^2]→[^6] - Update all inline citation patterns associated with
2^{…}if that’s your nested cross-file citation style.
Efficient search:
- Use
Ctrl + Hwith the search term:2^{, or search the citation format\ref{eq: - Replace carefully with:
6^{, update all citations manually.
Don’t replace all at once, patterns like
2^{100}(exponent expressions) may accidentally match your citation format.
Step 2. Apply a Prefix to the Equations in the Source File
- Go to:
Settings > Categorial > Auto numbering > Enable auto number prefix - Set a prefix (e.g.
M) - Run auto-numbering in the source file.
After this, equations become:
M1.1,M1.2,M1.3, …
This distinguishes migrated equations from native ones in the destination.
Step 3. Move Content
Copy or append :
- Any content and prefixed equations
- Updated footnotes
Paste them into the target file in the desired section.
Step 4. Update Backlinks
Open the backlink panel for the original (now empty) file and update references to point to the merged target file if needed (especially if other notes link to the old section).
Step 5. Re-run Auto-Numbering and Clean Up
In the target file:
- Re-auto-number (if the integration recalculates numbers globally).
- Verify all citations still resolve.
- Delete the original source file if it is fully migrated.