Closed nesium closed 3 months ago
Sounds like it could be a snarkdown
issue.
Jup. It also seems like code and quotes are not parsed/rendered properly. Although I don't know if we even have styles for that yet (quotes that is, code blocks I have seen).
No, we have no style for Markdown just yet. I'll open a separate issue for that.
Another case:
Text:
Feb 13 20:43:50 modulemanager error Error initializing module 'storage_sql' on 'proxy.ssk.pm': /usr/share/lua/5.1/pr
osody/util/startup.lua:203: module 'DBI' not found:No LuaRocks module found for DBI
no field package.preload['DBI']
no file './prosody/DBI.lua'
no file './DBI.lua'
no file '/usr/local/share/lua/5.1/prosody/DBI.lua'
no file '/usr/local/share/lua/5.1/DBI.lua'
Result snarkdown:
Result Github:
I think we should use a "proper" Markdown parser, i.e. something that is tested against CommonMark.
Last example:
Text:
http://upload.nsm.chat:5280/file_share/bYBeUDWO9fctt0OrbX1eTStw/brooke-lark-kVCRP3uiLiE-unsplash.jpg
Result snarkdown:
I may want to change Markdown library there, looks like it's causing too much trouble!
I'm going to reopen this. See examples…
New issue:
The message…
```
1
2
3
```
Renders as
2
3
Lists only render at the beginning of the message or after a newline:
Works:
```
- A
- B
```
Works:
```
Some text
- A
- B
```
Does not work:
```
Some text
- A
- B
```
Github renders it as expected:
Some text
Closed since formatting is now produced by the core client.
Writing
F*ing nice
in a message gets rendered as if it wereF*ing nice*