mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-11 16:04:17 +00:00
* Imported ""# condition:" directive to all snippets
* Start writing the insert tag snippet-command
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: Emphasize
|
||||
# binding: "@i"
|
||||
# binding: "A-i"
|
||||
## condition: "text.html"
|
||||
# --
|
||||
${0:${TM_SELECTED_TEXT/\A<em>(.*)<\/em>\z|.*/(?1:$1:<em>$0<\/em>)/m}}
|
||||
(yas/html-wrap-selection-if-not-wrapped-already "em")
|
||||
|
||||
Reference in New Issue
Block a user