css - CSS3 Selectors - style hashtag-words -
i've searched lot, still cant find way use css3 selectors style words starting #... #diy. shouldnt possible using css-only?
no, can quite done javascript.
using extend jquery.highlight highlight regular expressions:
$('body').highlight(/\b#\w+/)
working example: http://jsfiddle.net/kobi/ttd9r/
Comments
Post a Comment