UNPKG

markstream-vue

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.83 kB
export const safeList = `hr-node plugin-vue:export-helper inline text-[85%] px-1 py-0.5 rounded font-mono bg-secondary whitespace-normal break-words max-w-full before:content-[''] after:content-[''] highlight-node mark highlight custom-id node index-key heading-node auto heading class math-inline__loading status polite containerEl math-inline-wrapper mathElement math-inline table-node-fade loading math-inline__spinner animate-spin sr-only emoji-node hard-break admonition-icon admonition-title aria-expanded aria-controls id copy is common alias note admonition is-dark admonition-header admonition-toggle admonition-content aria-labelledby nodes typewriter href smooth footnote-anchor text-sm text-[#0366d6] hover:underline cursor-pointer ↩︎ cite definition-list definition-term definition-desc dl dt dd footnote-reference footnote-link flex-1 flex mt-2 mb-2 leading-relaxed border-t border-[#eaecef] pt-2 strikethrough-node strikethrough relative inline-block src alt tabindex aria-label 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 click figureRef text-center my-8 img-switch out-in image max-w-96 h-auto transition-opacity duration-200 ease-in-out contain lazy eager async ?? placeholder placeholder-layer inline-flex w-4 h-4 rounded-full border-2 border-solid border-current border-t-transparent currentColor checkbox-node checked checkbox checkbox-input data-node-index data-node-type stream-markdown-parser handleArtifactClick mouseover mouseout typeof globalThis.process globalThis.process?.env?.NODE_ENV test number [markstream-vue] peer dependencies are back to inline-code rendering enable full block features please install code_block mermaid [data-node-index] containerRef markdown-renderer node-spacer node-slot node-content node-placeholder mouseEnter mouseLeave reference-node bg-accent text-xs rounded-md px-1.5 mx-0.5 hover:bg-secondary space-x-2 overflow-hidden 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 openModal toggleMode loose dark default abort timed out p-4 render top viewBox width height get hidden keydown fullscreen [data-mermaid-wrapper] preview navigator.clipboard navigator.clipboard.writeText element not found open-modal toggle-mode source ease transitionend container ready light mermaid-action-btn p-2 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 shadow-sm border-gray-700/30 border-gray-200 is-rendering mermaid-block-header justify-between py-2.5 border-b bg-gray-800 bg-gray-50 header-left"] header-left my-0 font-medium truncate header-center"] header-center 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 header-right"] header-right 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 mermaidWrapper inset-0 cursor-grab cursor-grabbing mermaidContent w-full min-h-full mermaid-dialog fixed bg-black/70 self dialog-panel h-full max-h-full shadow-lg modalContent subscript-node subscript text-node-center text-node aria-busy data-language textContent plaintext no strong-node insert-node insert list-node list-disc list item value superscript-node superscript paragraph-node paragraph text aria-hidden link-text-wrapper leading-[normal] link-text linear infinite link-node noopener noreferrer emphasis link-loading items-baseline gap-1.5 underline-anim math-loading-overlay math-block overflow-x-auto min-h-[40px] math-fade math-loading-spinner mathBlockElement math-rendering code-block-header border-gray-400/5 innerHTML code-loading-placeholder previewCode lang stream-markdown [MarkdownCodeBlockNode] visible code-block-container icon-slot flex-shrink-0 code-action-btn hover:bg-[var(--vscode-editor-selectionBackground)] codeBlockContent code-block-content loading-skeleton skeleton-line short table-node-wrapper border-[var(--table-border,#cbd5e1)] table-node__loading table-fixed table-node table-node--loading colgroup col font-semibold p-[calc(4/7*1em)] right text-right cell.align center text-left bodyRows.value.length table-node__spinner list-item pl-1.5 my-2 batch-rendering unknown-node html-block-node__placeholder htmlRef html-block-node html-block-node__placeholder-bar w-4/5 w-2/3 emphasis-node 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 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;