Math formulas block ID

Use case or problem

Normal block ids have two main feature:

  • The ID is refeared to a whole block (for example a callout or N lines of text with the newline as block separator).
  • When that ID is called from a different file, it creates a link between these two files.

Now, what if i want to write a math formula once and use it everywhere (for example $F = ma$)?
Take an enginnering book for example, every time the book refeer to a specific formula they use the following notation: “according to the (2.16) and (2.19) formulas…”.

By using normal block id i would have to “isolate” that formula from the text in order to create a block id that only refears to that formula and not to the whole text block but that is a bad behaviour to do while writing a documentation.
Also that ID will create a link between files that might not be needed (as it’s not really a link that has to be done (else links would lose their importance of connecting files).

Current workaround (optional)

One solution might be to create a file with the formulas needed so that when i need to use a formula i would just have to write “![[#^formula-id]]” in order to show that formula.
Else i could just copy and paste that formula every time and it gets boring and a lenghty file if the formula is very big (a matrix for example).

Proposed solution

So, you could add a special syntax (like |$F = ma$| or $\id_{“formula-id”} F = ma$) to create that special math id block.
So, instead of writing “according to the (2.16) and (2.19) formulas…” you can simply show them directly by using the ID: “according to the $!\id_{“formula-id”}$ and the $!\id_{“formula-id2”}$ formulas…”.