vue-renderer-markdown
Version:
Vue 3 Markdown renderer optimized for large docs: progressive Mermaid, streaming diff code blocks, and fast real-time preview.
4 lines (3 loc) • 4.4 kB
text/typescript
export const safeList = `hr-node plugin-vue:export-helper hard-break heading-node auto heading custom-id node index-key class cite copy nodes emoji-node table-node-wrapper aria-busy border-[var(--table-border,#cbd5e1)] border-b table-node__loading status polite w-full my-8 text-sm text-left table-fixed table-node table-node--loading colgroup col font-semibold truncate p-[calc(4/7*1em)] bodyRows.value.length table-node-fade loading table-node__spinner animate-spin sr-only math-loading-overlay containerEl math-block text-center overflow-x-auto relative min-h-[40px] math-fade math-loading-spinner mathBlockElement math-rendering subscript-node subscript href aria-label aria-hidden link-text-wrapper inline-flex leading-[normal] link-text number ?? linear typeof infinite top link-node noopener noreferrer emphasis link-loading items-baseline gap-1.5 underline-anim admonition-icon admonition-title aria-expanded aria-controls id is common alias note admonition is-dark admonition-header admonition-toggle admonition-content aria-labelledby list-item pl-1.5 my-2 smooth footnote-reference footnote-link cursor-pointer definition-list definition-term definition-desc dl dt dd flex items-center space-x-2 src space-x-1 aria-pressed w-3 h-3 disabled absolute top-2 right-2 z-10 rounded-lg gap-2 backdrop-blur top-6 right-6 z-50 loose dark default abort timed out text-red-500 p-4 to render error viewBox width height get hidden keydown fullscreen [data-mermaid-wrapper] preview navigator.clipboard navigator.clipboard.writeText element not found source ease transitionend container ready light mermaid mermaid-action-btn p-2 text-xs rounded text-gray-400 hover:bg-gray-700 hover:text-gray-200 text-gray-600 hover:bg-gray-200 hover:text-gray-700 my-4 border overflow-hidden shadow-sm border-gray-700/30 border-gray-200 is-rendering mermaid-block-header justify-between px-4 py-2.5 bg-gray-800 bg-gray-50 w-4 h-4 my-0 font-medium font-mono rounded-md p-0.5 bg-gray-700 bg-gray-100 px-2.5 py-1 transition-colors bg-gray-600 text-gray-200 bg-white text-gray-700 text-gray-500 none currentColor round m16 m9 opacity-50 cursor-not-allowed m7 m14 modeContainerRef bg-gray-900 whitespace-pre-wrap text-gray-300 in m21 zoom mermaidContainer min-h-[360px] transition-all duration-100 block mermaidWrapper inset-0 cursor-grab cursor-grabbing mermaidContent justify-center min-h-full mermaid-dialog fixed bg-black/70 self dialog-panel h-full max-w-full max-h-full shadow-lg modalContent checkbox-node checked checkbox checkbox-input insert-node insert highlight-node mark highlight inline-block px-1 py-0.5 bg-secondary before:content-[''] after:content-[''] alt whitespace-nowrap py-2 mt-2 italic load img-switch out-in image max-w-96 h-auto transition-opacity duration-200 ease-in-out opacity-100 contain lazy eager async placeholder placeholder-layer rounded-full border-2 border-solid border-current border-t-transparent strong-node data-language textContent plaintext no list-node list-disc list item value stream-markdown-parser handleArtifactClick click mouseover mouseout [vue-markdown-render] peer dependencies are back inline-code rendering enable full features please install code_block containerRef markdown-renderer typewriter mouseEnter mouseLeave reference-node bg-accent px-1.5 mx-0.5 hover:bg-secondary mr-2 text-[#0366d6] flex-1 mb-2 leading-relaxed border-t border-[#eaecef] pt-2 code-block-header border-gray-400/5 innerHTML code-loading-placeholder previewCode lang stream-markdown [MarkdownCodeBlockNode] visible code-block-container header-left icon-slot flex-shrink-0 header-right code-action-btn hover:bg-[var(--vscode-editor-selectionBackground)] codeBlockContent code-block-content loading-skeleton skeleton-line short math-inline__loading math-inline-wrapper mathElement math-inline math-inline__spinner !inline-flex !justify-center break-words text-node paragraph-node paragraph strikethrough-node strikethrough superscript-node superscript [vue-renderer-markdown] stream-monaco blocks will use basic enhanced editor theme provided themes array on same initialize window.getComputedStyle post resize evenodd codeEditor code-editor-container code-height-placeholder emphasis-node unknown-node html-block-node tooltip z-[9999] text-base px-3 shadow-md pointer-events-none tooltip-element text-white border-gray-700 text-gray-900`
module.exports = safeList;
export default safeList;