mirror of
https://github.com/zadam/trilium.git
synced 2025-12-23 00:29:59 +01:00
Fixed indentation
This commit is contained in:
@@ -216,7 +216,7 @@ $$`;
|
|||||||
const input = `- First item with formula: $E = mc^2$`;
|
const input = `- First item with formula: $E = mc^2$`;
|
||||||
const expected = /*html*/`<ul><li>First item with formula: <span class="math-tex">\\(E = mc^2\\)</span></li></ul>`;
|
const expected = /*html*/`<ul><li>First item with formula: <span class="math-tex">\\(E = mc^2\\)</span></li></ul>`;
|
||||||
expect(markdownService.renderToHtml(input, "Title")).toStrictEqual(expected);
|
expect(markdownService.renderToHtml(input, "Title")).toStrictEqual(expected);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("converts display math expressions into Mathtex format", () => {
|
it("converts display math expressions into Mathtex format", () => {
|
||||||
const input = `$$\sqrt{x^{2}+1}$$`;
|
const input = `$$\sqrt{x^{2}+1}$$`;
|
||||||
|
|||||||
Reference in New Issue
Block a user