Skip to content

Commit

Permalink
fix: improper backtick rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
nik-rev committed Dec 12, 2024
1 parent 3f4be6d commit 44d0be8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ INSERT INTO `database`.`table` (`id` ,`item` ,`cost` ,`location`) VALUES ('id 10
<details>

<summary>
```%<alt-s>"yys\d<enter>dhhbms``xms(IINSERT INTO `database<esc>a.`table<esc>la <esc>AVALUES (<esc>"ypS,ms'A;<esc>Fl;~```
```%<alt-s>"yys\d<enter>dhhbms``x_ms(IINSERT INTO `database<esc>a.`table<esc>la <esc>AVALUES (<esc>"ypS,ms'A;<esc>Fl;~```
</summary>

1. `%` selects full file
Expand All @@ -103,8 +103,8 @@ INSERT INTO `database`.`table` (`id` ,`item` ,`cost` ,`location`) VALUES ('id 10
1. `d` deletes the selections. Essentially we've removed all the digits.
1. `hh` goes backwards 2 chars, important to make sure we are at the end of each word
1. Use `b` to select till the beginning of every word, which also nicely selects all the words that there are
1. `ms` ` surrounds each word with a backtick
1. ` ` ` switches all characters to lowercase
1. ``` ms` ``` surrounds each word with a backtick
1. ``` ` ``` switches all characters to lowercase
1. `x` selects each line then use `_` to trim the trailing whitespace
1. `ms(` surrounds each line with parentheses
1. `I` goes into insert mode at the beginning of each line
Expand Down

0 comments on commit 44d0be8

Please sign in to comment.