Created
March 19, 2013 10:37
-
-
Save chrismytton/5195130 to your computer and use it in GitHub Desktop.
Get a markdown list of your plain text email templates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for file in app/views/**/*.text.erb; do | |
echo && echo "# `basename $file`" && echo && cat "$file" | sed 's/^/ /' | |
done | redcarpet --parse-no_intra_emphasis |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment