bkad / prat

group chat with markdown served over websockets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

List styles

cespare opened this issue · comments

Right now lists are handled in a confusing way because the styles hide the list markers.

Example. Message 1:

* item1
* item2
* item3

Message 2:

1. list item 1
2. list item 2
3. list item 3

I think the fix is just a matter of indentation so that the bullet/numbers are within the column. At the same time, we should check the styles for nested lists. There are corner cases with the margins.

@bkad I'm confused how you created this message: