allegroai / clearml

ClearML - Auto-Magical CI/CD to streamline your AI workload. Experiment Management, Data Management, Pipeline, Orchestration, Scheduling & Serving in one MLOps/LLMOps solution
https://clear.ml/docs
Apache License 2.0
5.61k stars 651 forks source link

Table markdown in report section doesn't work #1037

Closed dinhtungtp closed 1 year ago

dinhtungtp commented 1 year ago

Describe the bug

Table markdown in report section doesn't work

Image example

https://ibb.co/jwcqQJc

Environment

shyallegro commented 1 year ago

Hi, @dinhtungtp we'll try to reproduce, can you please share the exact table code you are using here, so we can make sure there isn't some spcial character hiding there.

dinhtungtp commented 1 year ago

@shyallegro Following is the code I use, which is the code appear in the markdown guideline

|          | Align Right | Align Left | Align Center |
| —————-—— | —————————-—:|:—————————- |:—————————-——:|
| 1        |           1 | 1          |      1       |
| 11       |          11 | 11         |      11      |
shyallegro commented 1 year ago

Hi @dinhtungtp, managed to reproduce using your code, it seems your example is using U+2014 : EM DASH instead of an ASCII minus (U+002D : HYPHEN-MINUS {hyphen, dash; minus sign}) this happens some times when moving the code through MS word.

using the following code correctly creates a table.

|          | Align Right | Align Left | Align Center |
| -------- | -----------:|:---------- |:------------:|
| 1        |           1 | 1          |      1       |
| 11       |          11 | 11         |      11      |
dinhtungtp commented 1 year ago

@shyallegro Thank you for your explanation, I can create the table now 🙇 Let me close this thread 🙇