jsx-slack
Version:
Build JSON object for Slack Block Kit surfaces from JSX
20 lines (19 loc) • 416 B
TypeScript
type Node = {
type: string;
[key: string]: any;
};
export declare class MrkdwnCompiler {
constructor(node: Node);
compile(): string;
private codes;
private lists;
private root;
private visitors;
private block;
private escape;
private markup;
private renderCodeBlock;
private visit;
}
export default function remarkSlackStringifier(mdast: Node): string;
export {};