I’m working on a software development QA project. I’d like to achieve key styling result for ex( alt ) like SO does it. Is there any plug-in that parses text and finds all keys, replaces with key images / or with css3?
Any suggestions? Thanks in advance
I don’t know of a plugin to do that, but you can easily create your own. The following plugin adds
kbdtags just like in Alvin Wong’s example. Note that this is quite a naive approach and you might get unwanted markup.You can then add arbitrary style in your CSS stylesheet. See SO’s stylesheet for some inspiration… 😉
http://cdn.sstatic.net/stackoverflow/all.css
Test it here: http://jsfiddle.net/BUxpt/