Skip to content

Commit 4bb0eaa

Browse files
afallounriley
andauthored
Add wrapper phrases to markdown snippets (#2063)
## Why? Make it easier to edit markdown document by re-formatting already written text. This is particularly useful when using cursorless. ## What? Add wrapper phrases for: link, image, bold, italic, bold italic, and quote. --------- Co-authored-by: Nicholas Riley <[email protected]>
1 parent f69a3e6 commit 4bb0eaa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

core/snippets/snippets/markdown.snippet

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@ language: markdown
33

44
name: link
55
phrase: link
6+
7+
$1.wrapperPhrase: link
68
-
79
[$1]($0)
810
---
911

1012
name: image
1113
phrase: image
14+
$1.wrapperPhrase: image
1215
-
1316
![$1]($0)
1417
---
@@ -22,24 +25,28 @@ phrase: to do | check box | tick box
2225

2326
name: bold
2427
phrase: bold | strong
28+
$0.wrapperPhrase: bold | strong
2529
-
2630
**$0**
2731
---
2832

2933
name: italic
3034
phrase: italic | emph | emphasis
35+
$0.wrapperPhrase: italic | emph | emphasis
3136
-
3237
*$0*
3338
---
3439

3540
name: italic bold
3641
phrase: italic bold | bold italic | strong emphasis | strong emph
42+
$0.wrapperPhrase: italic bold | bold italic | strong emphasis | strong emph
3743
-
3844
***$0***
3945
---
4046

4147
name: quote
4248
phrase: quote
49+
$0.wrapperPhrase: quote
4350
-
4451
> $0
4552
---

0 commit comments

Comments
 (0)