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

Side by Side 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, 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 # prism-element
2
3 Syntax highlighting via [Prism](http://prismjs.com/).
4
5 Place a `<prism-highlighter>` in your document, preferably as a direct child of
6 `<body>`. It will listen for `syntax-highlight` events on its parent element,
7 and annotate the code being provided via that event.
8
9 The `syntax-highlight` event's detail is expected to have a `code` property
10 containing the source to highlight. The event detail can optionally contain a
11 `lang` property, containing a string like `"html"`, `"js"`, etc.
12
13 This flow is supported by [`<marked-element>`](https://github.com/PolymerElement s/marked-element).
OLDNEW
« 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