From 89639566a9029de1f025dbfd160c295a2231c293 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=98=9F=E5=8A=9B?= <85449530@qq.com> Date: Thu, 10 Dec 2015 15:57:07 +0800 Subject: [PATCH] Example in READEME for how to use markdown.js in browser is wrong - If we follow the readme to use this markdown.js in browser, It will not be useful, return 'expose is undefined' and 'markdown is undefined',so i change some code in this html in READEME and lib/markdown.js. - It maybe not be wrong in old way which READEME described, it may be used in node environment,not run in just simply browser + html + js - I change some code ,so i could use it --- README.md | 2 ++ inc/footer-node.js | 2 +- inc/header.js | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3c6f50e3..e631a31d 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,8 @@ It also works in a browser; here is a complete example: