We want to connect the people who have knowledge to the people who need it, to bring together people with different perspectives so they can understand each other better, and to empower everyone to share their knowledge.
```mermaid flowchart TD A[Start] --> B{Is Markdown Table?} B -- Yes --> C[Convert to HTML] B -- No --> D[Keep Original Text] C --> E[Return Result] D --> E[Return Result] ```
flowchart TD A[Start] --> B{Is Markdown Table?} B -- Yes --> C[Convert to HTML] B -- No --> D[Keep Original Text] C --> E[Return Result] D --> E[Return Result]
div pre
source-mermaid
<script src="https://cdn.jsdelivr.net/npm/mermaid@11.12.2/dist/mermaid.min.js" integrity="sha256-0IMKbAVUbp7bj+IKj1RfPg3HxMMTTVhLrZwTqZ16ceA=" crossorigin="anonymous"></script>
<script> mermaid.initialize({ startOnLoad: false, theme: "default" }); document.querySelectorAll('.source-mermaid pre').forEach((pre, index) => { const code = pre.textContent.trim(); if (!code) { return; } const container = document.createElement('div'); const id = 'mermaid-diagram-' + index; container.className = 'mermaid'; container.id = id; container.textContent = code; pre.parentElement.replaceWith(container); mermaid.render(id + '-svg', code).then(({ svg }) => { container.innerHTML = svg; }).catch(err => { console.error('Mermaid render error:', err); }); }); </script>
mermaid.initialize({ startOnLoad: false, theme: "default" }); $('.source-mermaid pre').each(function (index) { var preElement = $(this); var code = $.trim(preElement.text()); if (!code) { return; } var id = 'mermaid-diagram-' + index; var $container = $('<div>', { class: 'mermaid', id: id, text: code }); preElement.parent().replaceWith($container); mermaid .render(id + '-svg', code) .then(function (result) { $container.html(result.svg); }) .catch(function (err) { console.error('Mermaid render error:', err); }); });
2.2K Point(s)
1.2K Point(s)
313 Point(s)
178 Point(s)
138 Point(s)
Input your email to receive reset password link, or if you remember your password, you can click