I think the implementation of LaTeX rendering is very cool, and that Mermaid could be another step in the right direction to greatly improving Fluxer's rich text rendering.Removed: -### ChecksRemoved: -Removed: -- ☑ I searched existing discussions.Removed: -
Show
Mermaid blocks
Problem
Code blocks currently display Mermaid syntax as plain text, making it difficult to quickly understand diagrams shared in chats. Users must copy the code into an external Mermaid viewer/editor or mentally parse the syntax.
Proposal
Add built-in rendering for mermaid code blocks, similar to the existing LaTeX renderer.
Example:
```mermaid
flowchart LR
A --> B
B --> C
```
would render as a Mermaid diagram in the chat, with an option to copy the original source. If the syntax is incorrect, the message should fall back to displaying plain text.
Notes
I think the implementation of LaTeX rendering is very cool, and that Mermaid could be another step in the right direction to greatly improving Fluxer's rich text rendering.
Original by Rex
Show
Mermaid blocks
Problem
Code blocks currently display Mermaid syntax as plain text, making it difficult to quickly understand diagrams shared in chats. Users must copy the code into an external Mermaid viewer/editor or mentally parse the syntax.
Proposal
Add built-in rendering for mermaid code blocks, similar to the existing LaTeX renderer.
Example:
```mermaid
flowchart LR
A --> B
B --> C
```
would render as a Mermaid diagram in the chat, with an option to copy the original source. If the syntax is incorrect, the message should fall back to displaying plain text.
Notes
I think the implementation of LaTeX rendering is very cool, and that Mermaid could be another step in the right direction to greatly improving Fluxer's rich text rendering.