pombreda / txt2tags

Automatically exported from code.google.com/p/txt2tags
GNU General Public License v2.0
0 stars 0 forks source link

Twitter markup #176

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Twitter is incredibly popular today, some facilies could be useful for a lot of 
people.

#hashtag and @name could automagically link to twitter.

Original issue reported on code.google.com by fgalla...@gmail.com on 22 Mar 2013 at 3:54

GoogleCodeExporter commented 9 years ago
+name could be possible for Google+ to.

Original comment by fgalla...@gmail.com on 22 Mar 2013 at 3:58

GoogleCodeExporter commented 9 years ago
This is the kind of thing that's easily solved with pre/postprocs filters.

% twitter autolink
%!preproc: ' @(\w+)'        ' [@\1 http://twitter.com/\1]'

Also, @ and # are not used exclusively by twitter. Instagram and others use 
them too. We cannot make that assumption.

Also, we already have too many marks! :)

Original comment by aureliojargas@gmail.com on 22 Mar 2013 at 12:51

GoogleCodeExporter commented 9 years ago
twitter is not a protocol, it's a proprietary service, and also other services 
are using similar hashtags (for example status.net, which you can host 
yourself).

Original comment by eforg...@gmail.com on 22 Mar 2013 at 8:47