Support markdown in status page description
complete
Thomas Jensen
Allowing markdown in the status page description would allow for easy formatting of the status page header. With bullet points, link, bold, etc.
This would make it easier to make readable and properly formatted messages, like:
## 2025-02-12
Short downtime for server rearrangement.
- Expected start time **18:00**
## 2025-02-11
Major maintenance event.
Log In
Adrien Rey-Jarthon
complete
You know what? Good idea, done. Basic stuff only though, especially with the horizontal centering some stuff will look weird (lists, tables, etc..) but feel free to try them ^^
Thomas Jensen
Adrien Rey-Jarthon This absolutely works, thanks Adrien :)
Adrien Rey-Jarthon
Thomas Jensen Perfect 👌 You're welcome!
Thomas Jensen
Adrien Rey-Jarthon Hello again. I have tested a bit more, everything works, apart from external images. They get blocked by CSP:
Content-Security-Policy: The page’s settings blocked the loading of a resource (img-src) at https://blog.cavelab.dev/img/me-2x.png because it violates the following directive: “default-src 'self' 'unsafe-inline' data: https://updown.io https://*.updown.io https://www.paypalobjects.com https://cdn.headwayapp.co http://headway-widget.net”
I totally get why it happens. Just FYI.
Adrien Rey-Jarthon
Thomas Jensen Good point, thanks for testing this! I only tested with images from my domain so I forgot about this ^^ (which is a +1 for CSP)
It's probably best for now though, as I am not comfortable letting anyone add any images here (hope for the best, plan for the worst). I'll remove the "image" mention and re-evaluate this CSP if people ask for it (in a new suggestion).
Thomas Jensen
Adrien Rey-Jarthon Indeed :) I agree, one value a do see with images is the addition of a logo. But you already have a suggestion for allowing the upload of a logo image[1], which is probably a better (and safer) alternative.
Adrien Rey-Jarthon
Thomas Jensen Indeed, also if using markdown, the logo would end up under the title, centered and not easy to resize so that's only a wooden leg.