diff --git a/docs/intro.md b/docs/intro.md index 5ac6ae6..2a7e0a8 100644 --- a/docs/intro.md +++ b/docs/intro.md @@ -69,7 +69,7 @@ The `vex.combined.min.js` file includes: #### Confirm Demo One of the simplest ways to use vex is to call `vex.dialog.alert`, `vex.dialog.confirm`, or `vex.dialog.prompt`. In this demo, we're using `vex.dialog.confirm` to ask the user to confirm the answer to a simple question. - +```html Destroy the planet - +``` Play with this demo: ```javascript @@ -101,7 +101,7 @@ vex.dialog.confirm({ #### Login Demo Here's a more complex demo in which we use `vex.dialog.open` (a more generic method that `alert`, `confirm`, and `prompt` all call internally) to build a login dialog. - +```html Log in - +``` Play with this example: ```javascript @@ -166,6 +166,7 @@ vex was built by [Adam Schwartz](http://twitter.com/adamfschwartz) +```html

@@ -175,3 +176,4 @@ vex was built by [Adam Schwartz](http://twitter.com/adamfschwartz) vex.defaultOptions.className = 'vex-theme-os'; })(); +```