Skip to content

Commit 71811f7

Browse files
Init
1 parent e62cff9 commit 71811f7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ HTMLiveCode is a simple editor which is built on top of HTML, CSS and JavaScript
1212

1313
## Usage
1414

15-
After loading all necessary files of the folders "js" and "css" in your main file, HTMLiveCode is available in the global namespace and must be instantiated as an object. You don't need any HTML markup as the editor will be attached to the <body> element. You don't need to specify any options since HTMLiveCode can be started with default settings. The editor should be instantiated when the DOM is ready. For example, use the "DOMContentLoaded" event to make sure that everything has been loaded.
15+
After loading all necessary files of the folders "js" and "css" in your main file, HTMLiveCode is available in the global namespace and must be instantiated as an object. You don't need any HTML markup as the editor will be attached to the &lt;body&gt; element. You don't need to specify any options since HTMLiveCode can be started with default settings. The editor should be instantiated when the DOM is ready. For example, use the "DOMContentLoaded" event to make sure that everything has been loaded.
1616

1717
### Defaults
1818

1919
```javascript
2020
/*
2121
* HTMLiveCode instantiation (all arguments are optional)
2222
*
23-
* @param Object settings object which contains all options
23+
* @param Object settings Object which contains all options
2424
* settings:
2525
* @param Boolean gutter Toggles gutter and line numbers
2626
* @param Boolean wordWrap Toggles word wrapping
@@ -62,7 +62,7 @@ HTMLiveCode comes with some default shortcuts:
6262
* **ALT-M:** Toggle menu bar
6363
* **ALT-T:** Toggle theme
6464
* **ALT-I:** Increase font size
65-
* **ALT-O:** Dcrease font size
65+
* **ALT-O:** Decrease font size
6666
* **ALT-0:** Reset font size
6767
* **ALT-G:** Toggle gutter
6868
* **ALT-W:** Toggle word wrap

0 commit comments

Comments
 (0)