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

Enable usage of mermaid in ExUnit &co #14376

Merged
merged 1 commit into from
Mar 28, 2025

Conversation

sabiwara
Copy link
Contributor

@sabiwara sabiwara commented Mar 27, 2025

It seems mermaid was only added to Elixir docs itself, not ExUnit/Mix/etc.

https://hexdocs.pm/ex_unit/main/ExUnit.Case.html#module-process-architecture

Screenshot 2025-03-28 at 8 00 02

Copy pasting the config from elixir_docs.exs did the trick, but there might be a nicer way that avoids the duplication there.

This PR just enables mermaid, but it seems the chart above doesn't work on the latest version (couldn't figure out why):

Screenshot 2025-03-28 at 8 03 06

@josevalim josevalim merged commit eda7b5e into elixir-lang:main Mar 28, 2025
10 checks passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

@josevalim
Copy link
Member

I merged so I could look into the rendering issue. We just had to update the mermaid version and we are good :)

@sabiwara sabiwara deleted the mermaid-case-fix branch March 28, 2025 07:09
@sabiwara
Copy link
Contributor Author

Beautiful 🤩

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants