skynet-im / skynet-android

Skynet Messenger Android client
GNU General Public License v3.0
1 stars 0 forks source link

Improved markdown parser #34

Open daniel-lerch opened 4 years ago

daniel-lerch commented 4 years ago

The markdown implementation of v0.9.1 does not hide control chars and is incompatible to CommonMark in terms of bold/italic text.

A full CommonMark parser is not required but *italic*, _italic_, **bold**, __bold__, ***bolditalic*** and ___bolditalic___ should work.

For monospace text escaping like ``$string = "Hello`r`nWorld"`` should render as $string = "Hello`r`nWorld".