mirror of
https://github.com/gnoxnahte/obsidian-auto-embed.git
synced 2026-07-22 09:50:24 +00:00
13 lines
No EOL
325 B
TypeScript
13 lines
No EOL
325 B
TypeScript
import { PluginSettings } from "main";
|
|
|
|
export interface EmbedBase {
|
|
readonly name: string;
|
|
// To identify if the anchor link matches the embed type
|
|
readonly regex: RegExp;
|
|
|
|
createEmbed(
|
|
link: string,
|
|
container: HTMLElement,
|
|
settings: Readonly<PluginSettings>,
|
|
): HTMLElement;
|
|
} |