dakboard / Cloud-Platform

Feature requests, enhancements and anything you'd like to see in DAKboard!
https://dakboard.com
168 stars 39 forks source link

Text / Scheduled Text Block Markdown Formatting Issue #1634

Closed Dan-Peck closed 2 years ago

Dan-Peck commented 2 years ago

When using the markdown syntax in the Text and Scheduled Text blocks, it was discovered that they may render a bit differently. The Text block will show tables with lines, and a full width, where the Sched Text block only arranges the text into a tabular layout without any additional formatting. These should display consistently between the two.

One other point to mention is that the markdown sometimes does not get interpreted as expected. Such as when making multiple tables in the content, or switching up the order in which some content appears (e.g., table at the top and other content below, or vice-versa). Need to confirm whether the showdown/markdown converter supports these features, or if we can only have a single table per block, and determine if we need to change anything to help with this.

e.g.,

This content definition:

| Tables   | Are           | Cool  |
| -------- |:-------------:| -----:|
| col 3 is | right-aligned | $1600 |
| col 2 is | centered      |   $12 |

Separate

| Tables   | Are           | Cool  |
| -------- |:-------------:| -----:|
| col 3 is | right-aligned | $1600 |
| col 2 is | centered      |   $12 |

Will result in this formatting between the two block types: image

SUPPORT REF: # 43008

Dan-Peck commented 2 years ago

Notes:

Dan-Peck commented 2 years ago

Merged in @ 573113b and added to the queue for upcoming release to the live site.