rohan843 / dnncase

GNU General Public License v3.0
1 stars 0 forks source link

Logs' rich text display via markdown. #57

Open rohan843 opened 1 year ago

rohan843 commented 1 year ago

We need to decide how to display the log messages. Currently, the display component allows common escape sequences like \t and \n to be used in the log messages. We can, however, instead display markdown based logs, by converting markdown to react via react-markdown.

Pros of markdown:

  1. Allows extremely simple logs to be created using multi-line strings.

Cons of markdown:

  1. User exports of logs will have a weird markdown-like syntax instead of plain text messages.