8000 update visual ascii to not render as HTML · JavaScriptExpert/hotkey@f749534 · GitHub
[go: up one dir, main page]

8000 Skip to content

Commit f749534

Browse files
authored
update visual ascii to not render as HTML
1 parent cb055b3 commit f749534

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ are separated by a space.
1010
Two-keypress sequences like `g c` and `g i` would be stored
1111
under the 'g' key in a nested object with keys 'c' and 'i'.
1212

13+
```
1314
mappings =
1415
'c' : <a href="/rails/rails/issues/new" data-hotkey="c">New Issue</a>
1516
'g' :
1617
'c' : <a href="/rails/rails" data-hotkey="g c">Code</a>
1718
'i' : <a href="/rails/rails/issues" data-hotkey="g i">Issues</a>
19+
```
1820

1921
So both `g c` and `c` could be available hotkeys on the same
2022
page, but `g c` and `g` couldn't coexist. If the user presses

0 commit comments

Comments
 (0)
0