Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Unified Diff: polymer_0.5.4/bower_components/marked/README.md

Issue 895523005: Added Polymer 0.5.4 (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « polymer_0.5.4/bower_components/marked/Makefile ('k') | polymer_0.5.4/bower_components/marked/bin/marked » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: polymer_0.5.4/bower_components/marked/README.md
diff --git a/polymer_0.5.0/bower_components/marked/README.md b/polymer_0.5.4/bower_components/marked/README.md
similarity index 96%
copy from polymer_0.5.0/bower_components/marked/README.md
copy to polymer_0.5.4/bower_components/marked/README.md
index 441c1eb05a9ee9cee4c0f4b3cc4cae54d8da3880..b9817cd4f7b5fa68ad6c4e11aae5b6a9e709934a 100644
--- a/polymer_0.5.0/bower_components/marked/README.md
+++ b/polymer_0.5.4/bower_components/marked/README.md
@@ -39,6 +39,26 @@ marked.setOptions({
console.log(marked('I am using __markdown__.'));
```
+### Browser
+
+```html
+<!doctype html>
+<html>
+<head>
+ <meta charset="utf-8"/>
+ <title>Marked in the browser</title>
+ <script src="lib/marked.js"></script>
+</head>
+<body>
+ <div id="content"></div>
+ <script>
+ document.getElementById('content').innerHTML =
+ marked('# Marked in browser\n\nRendered by **marked**.');
+ </script>
+</body>
+</html>
+```
+
## marked(markdownString [,options] [,callback])
### markdownString
« no previous file with comments | « polymer_0.5.4/bower_components/marked/Makefile ('k') | polymer_0.5.4/bower_components/marked/bin/marked » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698