mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 18:50:41 +01:00
feat(export/markdown): preserve keyboard shortcuts
This commit is contained in:
@@ -97,4 +97,10 @@ describe("Markdown export", () => {
|
||||
const expected = ``;
|
||||
expect(markdownExportService.toMarkdown(html)).toBe(expected);
|
||||
});
|
||||
|
||||
it("supports keyboard shortcuts", () => {
|
||||
const html = "<kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>Delete</kbd>";
|
||||
expect(markdownExportService.toMarkdown(html)).toBe(html);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user