mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-08-26 05:17:06 +00:00
14 lines
640 B
TypeScript
14 lines
640 B
TypeScript
import { MarkdownRenderer } from "@/deps.ts";
|
|
import { fireAndForget } from "octagonal-wheels/promises";
|
|
import type { ObsidianLiveSyncSettingTab } from "./ObsidianLiveSyncSettingTab.ts";
|
|
declare const UPDATE_INFO: string;
|
|
const updateInformation: string = UPDATE_INFO || "";
|
|
|
|
export function paneChangeLog(this: ObsidianLiveSyncSettingTab, paneEl: HTMLElement): void {
|
|
const informationDivEl = this.createEl(paneEl, "div", { text: "" });
|
|
const lifetimeComponent = this.lifetimeComponent;
|
|
fireAndForget(() =>
|
|
MarkdownRenderer.render(this.plugin.app, updateInformation, informationDivEl, "/", lifetimeComponent)
|
|
);
|
|
}
|