ai-knowledge-hub
Version:
MCP server that provides unified access to organizational knowledge across multiple platforms (local docs, Guru, Notion)
40 lines • 1 kB
JavaScript
/**
* Markdown processing and conversion type definitions
*/
// Default conversion options
export const DEFAULT_CONVERSION_OPTIONS = {
// Formatting
preserveColors: false,
preserveFormatting: true,
maxHeadingLevel: 3,
// Block handling
handleUnsupportedBlocks: 'convert',
convertCallouts: true,
convertToggles: true,
// Content
includeMetadata: true,
extractFrontMatter: true,
preserveImageCaptions: true,
tableAlignment: true,
// Images
imageHandling: 'link',
// Links
preserveNotionLinks: true,
convertInternalLinks: true,
// Output
lineBreaks: 'lf',
indentSize: 2,
codeBlockStyle: 'fenced',
listMarker: '-',
emphasisMarker: '*',
};
// Default parser options
export const DEFAULT_PARSER_OPTIONS = {
extractMetadata: true,
validateSyntax: true,
includeSourceMap: false,
preserveWhitespace: false,
allowHtml: true,
allowUnsafeHtml: false,
};
//# sourceMappingURL=markdown.js.map