UNPKG

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
export const safeList = `hr-node plugin-vue:export-helper table-node-wrapper aria-busy border-[var(--table-border,#cbd5e1)] border-b table-node__loading status polite copy w-full my-8 text-sm text-left table-fixed table-node table-node--loading colgroup col auto font-semibold truncate p-[calc(4/7*1em)] index-key nodes bodyRows.value.length table-node-fade loading table-node__spinner animate-spin sr-only smooth footnote-reference footnote-link cursor-pointer definition-list definition-term definition-desc dl dt dd math-loading-overlay containerEl math-block text-center overflow-x-auto relative min-h-[40px] math-fade math-loading-spinner mathBlockElement math-rendering href aria-label aria-hidden link-text-wrapper inline-flex leading-[normal] link-text number ?? linear typeof infinite top link-node noopener noreferrer emphasis custom-id node link-loading items-baseline gap-1.5 underline-anim id mr-2 text-[#0366d6] flex-1 flex mt-2 mb-2 leading-relaxed border-t border-[#eaecef] pt-2 paragraph-node paragraph !inline-flex !justify-center whitespace-pre-wrap break-words text-node admonition-icon admonition-title aria-expanded aria-controls is common alias note admonition is-dark admonition-header admonition-toggle admonition-content aria-labelledby strong-node heading-node heading class hard-break inline-block src alt whitespace-nowrap text-gray-500 error px-4 py-2 bg-gray-100 items-center justify-center rounded-lg gap-2 text-red-500 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 w-4 h-4 rounded-full border-2 border-solid border-current border-t-transparent currentColor list-node list-disc list item value emoji-node checkbox-node checked checkbox checkbox-input cite data-language textContent plaintext block no strikethrough-node strikethrough space-x-2 space-x-1 aria-pressed w-3 h-3 disabled absolute top-2 right-2 z-10 backdrop-blur top-6 right-6 z-50 loose dark default abort timed out p-4 to render 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 py-2.5 bg-gray-800 bg-gray-50 my-0 font-medium font-mono rounded-md p-0.5 bg-gray-700 px-2.5 py-1 transition-colors bg-gray-600 text-gray-200 bg-white text-gray-700 none round m16 m9 opacity-50 cursor-not-allowed m7 m14 modeContainerRef bg-gray-900 text-gray-300 in m21 zoom mermaidContainer min-h-[360px] transition-all duration-100 mermaidWrapper inset-0 cursor-grab cursor-grabbing mermaidContent min-h-full mermaid-dialog fixed bg-black/70 self dialog-panel h-full max-w-full max-h-full shadow-lg modalContent highlight-node mark highlight px-1 py-0.5 bg-secondary before:content-[''] after:content-[''] list-item pl-1.5 my-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 insert-node insert click mouseEnter mouseLeave reference-node bg-accent px-1.5 mx-0.5 hover:bg-secondary superscript-node superscript subscript-node subscript math-inline__loading math-inline-wrapper mathElement math-inline math-inline__spinner stream-markdown-parser handleArtifactClick mouseover mouseout [vue-markdown-render] peer dependencies are back inline-code rendering enable full features please install code_block containerRef markdown-renderer typewriter [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;