Skip to main content
Glama
markdown.js619 B
export const header = (level, text) => `${'#'.repeat(Math.max(1, level))} ${text}`; export const bold = (label, value) => `**${label}:** ${value}`; export const list = (items, bullet = '•') => items.map(item => `${bullet} ${item}`).join('\n'); export const blankLine = () => ''; export const paragraph = (text) => text; export const section = (title, body) => [header(2, title), ...body, blankLine()]; export const trimWithEllipsis = (text, maxLength) => { if (text.length <= maxLength) { return text; } return `${text.slice(0, Math.max(0, maxLength))}...`; }; //# sourceMappingURL=markdown.js.map

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MightyDillah/apple-doc-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server