From eeff63e1d931085cf80a6fb90044b98eab3841d3 Mon Sep 17 00:00:00 2001 From: Gabriel Sroka Date: Wed, 23 May 2018 12:34:05 -0700 Subject: [PATCH] Update intro.md a code blocks for html. i'm not sure if this is what you meant.... --- docs/intro.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/intro.md b/docs/intro.md index 5ac6ae6..e351f12 100644 --- a/docs/intro.md +++ b/docs/intro.md @@ -70,6 +70,7 @@ The `vex.combined.min.js` file includes: 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: @@ -102,6 +104,7 @@ vex.dialog.confirm({ 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: @@ -164,7 +168,7 @@ To learn more about how to use vex, visit our API pages. vex was built by [Adam Schwartz](http://twitter.com/adamfschwartz) - +```html

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