Inline expansions #31
-
Hello, just found this plugin and it seems great, only problem is I'm not sure how to get inline expansions working in a suitable manner. Using the default $\begin{align*}y & =x\ y & =x^2\end{align*}$ which fails to render because it's not inside double dollar signs. If instead I start a new block and put in double dollar signs to start, hitting Here's my settings.json: {
"triggerSettings": null,
"dollarTrigger": false,
"selectEdit": false,
"selectModifier": "<none>",
"formatSettings": null,
"preferDisplay": false,
"preferMultiline": true,
"smartFormat": true,
"mathliveSettings": null,
"inlinePreview": true,
"smartFence": false,
"smartMode": false,
"smartSuperscript": true,
"keybindings": [
{
"key": "ctrl+b",
"command": [
"insert",
"\\mathbf{#@}"
]
}
],
"inlineShortcuts": {
"align": "\\begin{align*}\n#? &= #? \\\\\n #? &= #?\\end{align*}"
},
"disableDefaultShortcuts": false,
"disabled": false
} |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
By default, this plugin will use inline math mode (one dollar sign). If you want to switch to display mode (two dollar sign) temporarily, just click the title "Inline Math". |
Beta Was this translation helpful? Give feedback.
By default, this plugin will use inline math mode (one dollar sign). If you want to switch to display mode (two dollar sign) temporarily, just click the title "Inline Math".
If you want to use display mode by default, you can change it in the settings.
For more details, see https://github.com/AllanChain/logseq-live-math?tab=readme-ov-file#how-to-switch-between-display-math--and-inline-math-