kdjamesrd
(Kenneth James)
July 4, 2023, 2:51am
1
Even though I have had Tinderbox for several years, I have never made a real attempt to learn it and use it. One of the reasons that I have been held back, is that I have multiple markdown files from another PKM platform that include mathematical formulas, such as:
$$
s=\sqrt{\frac{1}{n-1} \sum_{i=1}^n\left(X_i-\bar{X}\right)^2}
$$
for separate line placement and $K=\sqrt{(x-1)(x+1) /(y-1)(y+1)}$ for inline placement.
These render as expected in the markdown platform app, but I have not found a way to render them in Tinderbox.
If there is a way, could someone point me in that direction?
Thank you
kdjamesrd
eastgate
(eastgate)
July 4, 2023, 3:34am
2
There’s a new feature coming in the next release that might help, if you can wait a week or two.
1 Like
EricB
(Eric Brown)
July 4, 2023, 5:51am
3
Hi @kdjamesrd
Here is a possible solution in the meantime:
After a bit of trial and error/exploration, the solution to invoke MathJax in the preview is actually quite simple.
For those that are interested, you can do the following from scratch:
open a new (blank) Tbx document
add the default HTML Template using the menu (“File”–>“Built-In Templates”–>“HTML”)
go into the newly made “Templates” container and click on the “HTML page” note
edit this note by adding the following code anywhere between the <head> and </head> tags:
<script src="ht…