Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Add snippets for raw HTML #176

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions snippets/gfm.cson
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,50 @@
| :------------- | :------------- |
| ${3:Item One } | ${4:Item Two } |$0
"""

# raw HTML snippets
'Description':
'prefix': 'dd'
'body': '<dd>$1</dd>$0'
'Div':
'prefix': 'div'
'body': '<div class="$1">\n\t$2\n</div>'
'Description List':
'prefix': 'dl'
'body': '<dl${1: class="$2"}>\n\t$3\n</dl>'
'Definition Term':
'prefix': 'dt'
'body': '<dt>$1</dt>$0'
'Inserted Text':
'prefix': 'ins'
'body': '<ins>$1</ins>$0'
'Keyboard Input':
'prefix': 'kbd'
'body': '<kbd>$1</kbd>$0'
'Quote':
'prefix': 'q'
'body': '<q${1: cite="$2"}>$3</q>$0'
'Ruby Parenthesis':
'prefix': 'rp'
'body': '<rp>$1</rp>$0'
'Ruby Pronunciation':
'prefix': 'rt'
'body': '<rt>$1</rt>$0'
'Ruby Annotation':
'prefix': 'ruby'
'body': '<ruby>$1</ruby>$0'
'Strikethrough':
'prefix': 's'
'body': '<s>$1</s>$0'
'Sample Output':
'prefix': 'samp'
'body': '<samp>$1</samp>$0'
'Subscript':
'prefix': 'sub'
'body': '<sub>$1</sub>$0'
'Superscript':
'prefix': 'sup'
'body': '<sup>$1</sup>$0'
'Variable':
'prefix': 'var'
'body': '<var>$1</var>$0'