New Button to Convert $formulas$ in Note #4792
Unanswered
lhx332251335
asked this question in
Show and tell
Replies: 2 comments 2 replies
-
@lhx332251335 I don't see "JS Frontend" note type. Where do you set it? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Introduction
This script is designed to convert math formulas wrapped in single dollar signs (
$
) and double dollar signs ($$
) into HTML format within Trilium Notes. A new button is added to the center pane, which you can click to perform the conversion. Formulas wrapped in single dollar signs are treated as inline math, while those wrapped in double dollar signs are treated as block math. Please note that using this method for formula conversion cannot be undone using the Ctrl+Z shortcut.Usage Instructions
Create a Script Note:
Copy the Script:
Add Widget Attribute:
#widget
.Refresh Trilium:
Ctrl+Shift+R
to refresh Trilium Notes to apply the script.Beta Was this translation helpful? Give feedback.
All reactions