diff --git a/README.md b/README.md index 2bf3027b..13b1f11c 100644 --- a/README.md +++ b/README.md @@ -65,12 +65,7 @@ Addons are JavaScript modules that extend the `Terminal` prototype with new meth To use an addon, just import the JavaScript module and pass it to `Terminal`'s `applyAddon` method: -```html - - -``` - -```js +```javascript import { Terminal } from xterm; import * as fit from 'xterm/addons/fit/fit';