Skip to content

Instantly share code, notes, and snippets.

@aaronpk
Last active May 22, 2017 11:24
Show Gist options
  • Save aaronpk/1ef5492ec24a263db65c3f36d96fc5ac to your computer and use it in GitHub Desktop.
Save aaronpk/1ef5492ec24a263db65c3f36d96fc5ac to your computer and use it in GitHub Desktop.
Input
Snack 👩🏻‍🎤 with Asha
Input (JSON encoded)
"Snack \ud83d\udc69\ud83c\udffb\u200d\ud83c\udfa4 with Asha"
Offset Data
[
{
"indices": [
19,
23
],
"id": "80541223",
"type": "user"
}
]
Expected Output
Snack 👩🏻‍🎤 with <a href="https://foursquare.com/user/80541223">Asha</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment