Skip to content

Instantly share code, notes, and snippets.

@obar1
Last active March 9, 2026 10:45
Show Gist options
  • Select an option

  • Save obar1/ddbdc118cb85b8e84302cfb1c8e4bfb3 to your computer and use it in GitHub Desktop.

Select an option

Save obar1/ddbdc118cb85b8e84302cfb1c8e4bfb3 to your computer and use it in GitHub Desktop.
snippets/my_snippets.json
{
"Convert to Markdown Link": {
"prefix": "_here",
"body": [
"## ${1:here}",
"[here](${1:here}/readme.md)"
]
},
"Second Level Header from Clipboard": {
"prefix": "x2xs",
"body": [
"## $CLIPBOARD",
"![$CLIPBOARD](${CLIPBOARD/(\\s+)|[^A-Za-z0-9]+/_/g}/readme.md)"
],
"description": "Insert a second-level Markdown header using clipboard content"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment