Closed MilosPaunovic closed 1 month ago
The only use case I can see for logs to be rendered is in case of linking to another app: I can imagine some users willing to render [link](https://google.com)
as a proper link... But this is edgy, and usually people would render this kind of string in their notification system (slack, email, etc.) or otherwise keeping the link raw.
👉 So let's keep them raw by default for now (no markdown rendering). If we get reports asking for rendering in the future, one solution would be to add a flag renderMarkdown: true | false
Issue description
Sometimes there are logs which look like this:
Probelm here is that we're rendering the log content as markdown, and in the example above the log message is
message: "# Hello World! 🚀"
which in markdown tranlsates toH1
heading (resulting in big text as we see in the attached image).As Anna pointed out, it is usual in some programming languages that comments start with
#
character. The question now is for @Ben8t on how to we want to handle this one - if we want to support full markdown log messages, I don't think there is a proper way of determining what is a code comment and what isMD
heading. Any ideas on this topic?Relates to https://github.com/kestra-io/kestra/issues/4776.
Alsom related: https://github.com/kestra-io/kestra-ee/issues/1409