mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-11 19:22:31 +08:00
refactor(server): rename md -> markdown for consistency
This commit is contained in:
parent
875e65284c
commit
80421bb220
@ -1,5 +1,5 @@
|
|||||||
import { describe, it, expect } from "vitest";
|
import { describe, it, expect } from "vitest";
|
||||||
import markdownExportService from "./md.js";
|
import markdownExportService from "./markdown.js";
|
||||||
import { trimIndentation } from "../../../spec/support/utils.js";
|
import { trimIndentation } from "../../../spec/support/utils.js";
|
||||||
|
|
||||||
describe("Markdown export", () => {
|
describe("Markdown export", () => {
|
@ -3,7 +3,7 @@
|
|||||||
import mimeTypes from "mime-types";
|
import mimeTypes from "mime-types";
|
||||||
import html from "html";
|
import html from "html";
|
||||||
import { getContentDisposition, escapeHtml } from "../utils.js";
|
import { getContentDisposition, escapeHtml } from "../utils.js";
|
||||||
import mdService from "./md.js";
|
import mdService from "./markdown.js";
|
||||||
import becca from "../../becca/becca.js";
|
import becca from "../../becca/becca.js";
|
||||||
import type TaskContext from "../task_context.js";
|
import type TaskContext from "../task_context.js";
|
||||||
import type BBranch from "../../becca/entities/bbranch.js";
|
import type BBranch from "../../becca/entities/bbranch.js";
|
||||||
|
@ -4,7 +4,7 @@ import html from "html";
|
|||||||
import dateUtils from "../date_utils.js";
|
import dateUtils from "../date_utils.js";
|
||||||
import path from "path";
|
import path from "path";
|
||||||
import mimeTypes from "mime-types";
|
import mimeTypes from "mime-types";
|
||||||
import mdService from "./md.js";
|
import mdService from "./markdown.js";
|
||||||
import packageInfo from "../../../package.json" with { type: "json" };
|
import packageInfo from "../../../package.json" with { type: "json" };
|
||||||
import { getContentDisposition, escapeHtml } from "../utils.js";
|
import { getContentDisposition, escapeHtml } from "../utils.js";
|
||||||
import protectedSessionService from "../protected_session.js";
|
import protectedSessionService from "../protected_session.js";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user