We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
\placeholder{}
1 parent 5220dca commit 5391e35Copy full SHA for 5391e35
src/popup.ts
@@ -267,6 +267,7 @@ export class PopupManager {
267
if (matchLines !== null && matchLines.groups !== undefined) {
268
latex = `\\begin{gather*}${matchLines.groups.content}\\end{gather*}`
269
}
270
+ latex = latex.replaceAll('\\placeholder{}', '') // remove empty placeholders
271
if (this.delim !== '$' && logseq.settings?.preferMultiline) {
272
latex = latex
273
.replaceAll('\\\\ ', '\\\\\n') // add new line after `\\`
0 commit comments