vue-renderer-markdown
Version:
A Vue 3 component that renders Markdown string content as HTML, supporting custom components and advanced markdown features.
4 lines (3 loc) • 3.69 kB
text/typescript
export const safeList = ` plugin-vue:export-helper render emoji-node EmojiNode admonition-header admonition-icon admonition-title admonition-content AdmonitionNode copy admonition nodes subscript-node SubscriptNode node definition-list definition-term definition-desc DefinitionListNode dl dt dd overflow-x-auto max-w-full mb-4 shadow-sm border border-border rounded-lg border-collapse my-0 min-w-full table-fixed w-auto border-b TableNode auto p-2 text-left font-semibold bg-gray-100 dark:bg-zinc-900 dark:border-zinc-800 whitespace-nowrap border-r id mr-2 text-[#0366d6] flex-1 FootnoteNode flex mt-2 mb-2 text-sm leading-relaxed border-t border-[#eaecef] pt-2 whitespace-pre-wrap break-words text-node TextNode LinkNode link-node noopener noreferrer checkbox-node checked CheckboxNode checkbox checkbox-input strong-node StrongNode inline-block px-1 py-0.5 rounded text-xs font-mono bg-secondary before:content-[''] after:content-[''] InlineCodeNode insert-node InsertNode strikethrough-node StrikethroughNode ListNode item list-item ListItemNode HeadingNode heading-node class code-block-container my-4 border-gray-200 dark:border-gray-700 overflow-hidden bg-white dark:bg-gray-900 code-block-header justify-between items-center px-4 py-2.5 bg-gray-50 dark:bg-gray-800 space-x-2 innerHTML font-medium text-gray-600 dark:text-gray-400 disabled aria-label aria-pressed sr-only status CodeBlockNode plaintext on same number lang mermaid top none visible post Preview previewCode icon-slot h-4 w-4 flex-shrink-0 code-action-btn rounded-md hover:bg-gray-200 dark:hover:bg-gray-700 transition-colors lucide:minus w-3 h-3 lucide:rotate-ccw lucide:plus copyText.value lucide:copy lucide:check icon http://www.w3.org/2000/svg currentColor codeEditor code-editor-container BlockquoteNode superscript-node SuperscriptNode katex MathInlineNode ignore KaTeX rendering mathElement math-inline FootnoteReferenceNode smooth footnote-reference footnote-link cursor-pointer hard-break HardBreakNode MathBlockNode math-block text-center text-gray-500 italic ImageNode max-w-96 h-auto highlight-node HighlightNode mark NodeRenderer [vue-markdown-render] Optional peer dependencies are Falling back to inline-code To enable full block please install and containerRef markdown-renderer typewriter handleArtifactClick click mouseover mouseout ParagraphNode mermaid-block-header src space-x-1 dark:bg-gray-700 p-0.5 p-4 text-gray-700 dark:text-gray-300 relative absolute top-2 right-2 z-10 gap-2 backdrop-blur px-2.5 py-1 text-[10px] rounded-full bg-gradient-to-r from-sky-500/90 to-indigo-500/90 text-white select-none inline-flex gap-1.5 ring-1 ring-white/20 backdrop-blur-sm Rendering in progress dialog-panel w-full h-full max-h-full shadow-lg top-6 right-6 z-50 MermaidBlockNode loose abort Operation timed out text-red-500 Failed Unknown error module Worker Parser worker will fall main not available call canParse AbortError findPrefix viewBox width height get SVG Escape hidden keydown fullscreen [data-mermaid-wrapper] preview element found source ease transitionend Mermaid container ready dark:bg-gray-600 dark:text-gray-200 hover:text-gray-700 dark:hover:text-gray-200 Source mermaid-action-btn isFullscreenDisabled.value Export isModalOpen.value modeContainerRef animate-spin Zoom Reset zoom mermaidContainer min-h-[360px] transition-all duration-100 mermaidWrapper inset-0 mermaidContent justify-center min-h-full mermaid-dialog fixed bg-black/70 self modalContent unknown-node FallbackComponent emphasis-node EmphasisNode Tooltip tooltip z-[9999] text-base text-gray-900 dark:text-white py-2 px-3 shadow-md pointer-events-none tooltip-element`
module.exports = safeList;
export default safeList;