Skip to content

Commit

Permalink
fix rendering recommended env
Browse files Browse the repository at this point in the history
  • Loading branch information
FynnBe committed Nov 14, 2024
1 parent 7fac19a commit 3426388
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bioimageio/spec/summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,9 @@ def format_loc(loc: Loc):
[
"🐍",
"recommended conda env",
f"```yaml\n{rec_env.read()}\n```".replace("\n", "<br>"),
f'<pre lang="yaml"><code>{rec_env.getvalue().replace(
'\n', '</code><br><code>'
)}</code></pre>',
]
)

Expand Down

0 comments on commit 3426388

Please sign in to comment.