Skip to content

Instantly share code, notes, and snippets.

@andershaig
Created September 20, 2011 14:59
Show Gist options
  • Save andershaig/1229330 to your computer and use it in GitHub Desktop.
Save andershaig/1229330 to your computer and use it in GitHub Desktop.
Use Text Plugin to Pass Variables
{% capture foo_plaintext %}{% text foo %}{% endcapture %}
<a href="http://twitter.com/{{ foo_plaintext | strip_html | strip_newlines }}">Follow me on Twitter!</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment