juspay / nix-health

REPO MOVED https://github.com/juspay/omnix/tree/main/crates/nix_health
https://github.com/juspay/omnix/tree/main/crates/nix_rs
28 stars 2 forks source link

Use Markdown for health check suggestions #30

Open srid opened 1 year ago

srid commented 1 year ago

For "suggestions" we currently use String,

https://github.com/juspay/nix-browser/blob/24d41410b017be10d1fe94c641301ef1a348d1ed/src/nix/health/report.rs#L22-L29

We should change this to use a Markdown type, and correspondingly render the Markdown on the frontend.

There is https://github.com/rambip/leptos-markdown we can use for this.

srid commented 11 months ago

@1vipulgupta Just a heads up: with juspay/omnix#53 merged you want to base your work on top of the new master, since there has been an re-organization (see crates/nix_health in particular).

srid commented 11 months ago

https://github.com/Pitasi/leptos-mdx may be better.

srid commented 10 months ago

With the move to Dioxus, we should probably use https://github.com/DioxusLabs/markdown

srid commented 1 month ago

(Moved it to nix-health repo; can we render Markdown in terminal?)