mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-31 04:02:26 +08:00
Fixed indentation
This commit is contained in:
parent
6e8e343301
commit
6a9b44e4a1
@ -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}$$`;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user