mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-21 04:13:39 +02:00
Default text for placeholders for builtin snippets
This commit is contained in:
parent
8ee0c106ff
commit
0bd0926b66
1 changed files with 3 additions and 3 deletions
|
|
@ -42,17 +42,17 @@ def contains(l1, r1, l2, r2):
|
|||
|
||||
snip_key('<a', 'html'): {
|
||||
'description': _('Insert a HTML link'),
|
||||
'template': '<a href="$1">${2*}</a>',
|
||||
'template': '<a href="${1:filename}">${2*}</a>',
|
||||
},
|
||||
|
||||
snip_key('<i', 'html'): {
|
||||
'description': _('Insert a HTML image'),
|
||||
'template': '<img src="$1" alt="${2*}" />$3',
|
||||
'template': '<img src="${1:filename}" alt="${2*:description}" />$3',
|
||||
},
|
||||
|
||||
snip_key('<c', 'html'): {
|
||||
'description': _('Insert a HTML tag with a class'),
|
||||
'template': '<$1 class="$2">${3*}</$1>',
|
||||
'template': '<$1 class="${2:classname}">${3*}</$1>',
|
||||
},
|
||||
|
||||
} # }}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue