Browse Source

Examples fix. Closes #43

pull/14/head
Vitaly Puzrin 10 years ago
parent
commit
2f7a0d0467
  1. 2
      README.md
  2. 2
      demo/sample.js

2
README.md

@ -50,7 +50,7 @@ var md = new Remarkable({
highlight: function (/*str, , lang*/) { return ''; } highlight: function (/*str, , lang*/) { return ''; }
}); });
console.log(md.parse('# Remarkable rulezz!')); console.log(md.render('# Remarkable rulezz!'));
// => <h1>Remarkable rulezz!</h1> // => <h1>Remarkable rulezz!</h1>
``` ```

2
demo/sample.js

@ -26,5 +26,5 @@ var md = new Remarkable({
} }
}); });
console.log(md.parse('# Remarkable rulezz!')); console.log(md.render('# Remarkable rulezz!'));
// => <h1>Remarkable rulezz!</h1> // => <h1>Remarkable rulezz!</h1>

Loading…
Cancel
Save