Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Markdown snippets (image, link, footnote)
- Loading branch information
1 parent
ef692c5
commit 8967226
Showing
5 changed files
with
73 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>bundleUUID</key> | ||
<string>D99E8C0C-792F-11D9-A212-000D93B3A10E</string> | ||
<key>content</key> | ||
<string>[^${1:#}] | ||
[^$1]: ${2:Footnote goes here}</string> | ||
<key>name</key> | ||
<string>Add Footnote</string> | ||
<key>tabTrigger</key> | ||
<string>^</string> | ||
<key>uuid</key> | ||
<string>BF70E2B4-7B6F-4A41-8237-798D0E5D5687</string> | ||
</dict> | ||
</plist> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>bundleUUID</key> | ||
<string>D99E8C0C-792F-11D9-A212-000D93B3A10E</string> | ||
<key>content</key> | ||
<string>![${1:Alt Text}](${2:Image Location})</string> | ||
<key>name</key> | ||
<string>Insert Image</string> | ||
<key>tabTrigger</key> | ||
<string>img</string> | ||
<key>uuid</key> | ||
<string>419AED55-E917-4C50-B99E-31E4004294CC</string> | ||
</dict> | ||
</plist> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>bundleUUID</key> | ||
<string>D99E8C0C-792F-11D9-A212-000D93B3A10E</string> | ||
<key>content</key> | ||
<string>[${1:Text}](${2:http://}) | ||
${1:$TM_SELECTED_TEXT}</string> | ||
<key>name</key> | ||
<string>Insert Link</string> | ||
<key>tabTrigger</key> | ||
<string>a</string> | ||
<key>uuid</key> | ||
<string>FA9981EE-0C6B-40D4-9590-DB6F02EC1691</string> | ||
</dict> | ||
</plist> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# TextMate Snippets | ||
These are bits of code that I use and reuse often. They speed up development and help to keep my coding practices consistent. It's very easy to install one or more of them into your workflow: | ||
|
||
1. You must use [TextMate](http://macromates.com). I wrote the snippets myself; but they're exported from TextMate, so I don't know if they'll work with another editor. | ||
2. Download this repository. Cloning it probably won't help much - just download the source. | ||
3. Navigate the topic areas in your downloaded folder to find a snippet you think might improve your workflow. | ||
4. Double-click to install each snippet you have a crush on. You're done. | ||
|
||
## Documentation | ||
Here's a quick rundown of what each snippet does: | ||
|
||
### Markdown | ||
- Add Footnote - Type `^` and hit TAB to insert a reference and footnote. After hitting TAB, you type the number of the reference. This is one of my favorites. | ||
- Insert Image - Type `img` and hit TAB to insert an image. | ||
- Insert Image - Type `a` and hit TAB to insert a link. |