Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🧜‍♀️ Allow hover-references of mermaid diagrams #380

Merged
merged 1 commit into from
May 9, 2024

Conversation

rowanc1
Copy link
Member

@rowanc1 rowanc1 commented May 9, 2024

No description provided.

const [graph, setGraph] = useState<string>();
const [error, setError] = useState<Error>();
useEffect(() => {
parse(id, value)
parse(`mermaid-${key.replace(/:/g, '')}`, value)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ID was shared before and stole the diagram.

@rowanc1 rowanc1 merged commit 0cea444 into main May 9, 2024
2 checks passed
@rowanc1 rowanc1 deleted the feat/mermaid branch May 9, 2024 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant