RicinApp / Ricin

A dead simple, privacy oriented, instant messaging client! https://ricin.im
GNU General Public License v3.0
162 stars 31 forks source link

Markdown support. #30

Closed SkyzohKey closed 8 years ago

SkyzohKey commented 8 years ago

Ricin should provide a way to use (basic) Markdown to format messages. This is not really hard to do but the real issue is for client compatibility. I guess this shouldn't be a major issue since markdown was reflexed to be readable, even in plaintext.

(Pseudo-) Markdown "balises" we could provide:

Ricin (with Markdown lite support): Current Ricin's Markdown support

µTox (with no Markdown support): Current µTox Markdown support: null

Also, see the qTox issue about that: https://github.com/tux3/qTox/issues/2497 It was an issue opened on Tox-STS repo: https://github.com/Tox-Archive/Tox-STS/issues/74 And @subliun opened a new issue: https://github.com/Tox/Tox-Client-Standard/issues/19

SkyzohKey commented 8 years ago

Ricin now supports bolded, italicized, underlined and striked messages. See the wip/chatform@2e7d6a0 commit for more infos.

rugk commented 8 years ago

It should also support naming [links](https://en.wikipedia.org/wiki/Hyperlink).

SkyzohKey commented 8 years ago

@rugk commented on 21 Nov 2015, 12:51 GMT+1:

It should also support naming [links](https://en.wikipedia.org/wiki/Hyperlink).

Hmm, I guess this is a bad idea cuz it would permit people to "spoof" links. What if someone send you a link like: [https://www.youtube.com/watch?v=dQw4w9WgXcQ](http://iplogger.com/id) ?

gmscs commented 8 years ago

hovering over the named link should give the link itself

SkyzohKey commented 8 years ago

@gmscs Hmm, maybe i should add this so.

SkyzohKey commented 8 years ago

This can be closed since this comment seems to be the one that will be approved → https://github.com/Tox/Tox-Client-Standard/pull/25#issuecomment-189645287