honkit
Version:
HonKit is building beautiful books using Markdown.
20 lines (19 loc) • 550 B
TypeScript
/**
Encode a SummaryArticle to JSON
@param {SummaryArticle}
@return {Object}
*/
import SummaryArticle from "../models/summaryArticle";
export type EncodedArticle = {
title: string;
level: string;
depth: number;
anchor: string;
url: string;
path: string;
ref: string;
articles: EncodedArticle[];
};
declare function encodeSummaryArticleWithCache(article: SummaryArticle, recursive?: boolean): EncodedArticle;
export default encodeSummaryArticleWithCache;
//# sourceMappingURL=encodeSummaryArticleWithCache.d.ts.map