|
|
|
|
|
by meesterdude
3464 days ago
|
|
I like the idea of adding visualizations to markdown. I think its got potential. But this implementation is entirely wrong. I could never include it server side or client side because the data source is decoupled. Additionally, the setup reads 10X more like something i'd write for javascript than for markdown. To be in the spirit of markdown, you would have to do something like take a csv or table of numbers, and make them into a chart -in a way that you can read in plaintext too. |
|
Plain-text readability is paramount. But additionally, we need to be careful as to how visualizations are implemented. The visual characteristics of the final HTML document are really supposed to exist in the domain of the stylesheet applied to it.
The visualization configuration block in OP's example is perilously close, if not guilty, of violating the traditional separation of concerns we expect with Markdown.