Skip to content

Support creating a mermaid js embedding #28

@EricTheMagician

Description

@EricTheMagician

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing requests and didn't find any that were similar
  • I have considered creating a pull request instead and want to proceed

Clear and concise description of the problem

I want to be able to create an embedding directly, specifically the mermaid.js embedding from mermaid markdown.

Suggested solution

When a mermaid markdown block is surrounded by $$ (as this is what is currently returned), we should create the embeding.

Alternative

No response

Additional context

This would be super useful for the mcp server to be able to have an llm generate the mermaid diagram and have it rendered correctly in anytype without any additional steps

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions