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

Unified Diff: polymer_1.0.4/bower_components/prism-element/README.md

Issue 1205703007: Add polymer 1.0 to npm_modules (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Renamed folder to 1.0.4 Created 5 years, 6 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
Index: polymer_1.0.4/bower_components/prism-element/README.md
diff --git a/polymer_1.0.4/bower_components/prism-element/README.md b/polymer_1.0.4/bower_components/prism-element/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..db77712527491af382c222dc87d51d1624526ab3
--- /dev/null
+++ b/polymer_1.0.4/bower_components/prism-element/README.md
@@ -0,0 +1,13 @@
+# prism-element
+
+Syntax highlighting via [Prism](http://prismjs.com/).
+
+Place a `<prism-highlighter>` in your document, preferably as a direct child of
+`<body>`. It will listen for `syntax-highlight` events on its parent element,
+and annotate the code being provided via that event.
+
+The `syntax-highlight` event's detail is expected to have a `code` property
+containing the source to highlight. The event detail can optionally contain a
+`lang` property, containing a string like `"html"`, `"js"`, etc.
+
+This flow is supported by [`<marked-element>`](https://github.com/PolymerElements/marked-element).
« no previous file with comments | « polymer_1.0.4/bower_components/prism-element/.bower.json ('k') | polymer_1.0.4/bower_components/prism-element/bower.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698