longform-markdown-splitter
Version:
Splits and transforms markdown files from obsidian for usage in hugo.
26 lines (25 loc) • 1.09 kB
TypeScript
import { MD_Exporter_Parameter_Type } from "../md-exporter";
import { MD_FileContent_Interface } from "../md-filesystem";
import { MD_Observer_Interface } from "../md-observer";
import { MD_Transformer_AbstractBase, MD_Transformer_Parameter_Type } from "../md-transformer";
export interface MD_Callout_TemplateValues_Type {
context: string;
title: string;
icon: string;
content: string;
}
export declare class MD_Callout_Transformer extends MD_Transformer_AbstractBase {
parameter: MD_Transformer_Parameter_Type;
collection: string[] | null | undefined;
counter: number;
doCollect: boolean;
protected template_values: MD_Callout_TemplateValues_Type;
protected a_mapping: any;
protected b_mapping: any;
protected c_mapping: any;
protected mappings: any;
constructor(parameter: MD_Transformer_Parameter_Type);
set_job_parameter(job_paramter: MD_Exporter_Parameter_Type): void;
addObserver(observer: MD_Observer_Interface): void;
transform(file_content: MD_FileContent_Interface, index: number): MD_FileContent_Interface;
}