Skip to content

Instantly share code, notes, and snippets.

@erickedji
Created February 4, 2010 22:11
Show Gist options
  • Save erickedji/295184 to your computer and use it in GitHub Desktop.
Save erickedji/295184 to your computer and use it in GitHub Desktop.
Strike string with unicode diacric
function strike( str ) {
return str.split('').
map(function (e) { return e + '\u0336'; }).
join('');
}
@erickedji
Copy link
Author

foobar

@erickedji
Copy link
Author

foo bar fgdfg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment