Website: initial page for videos

This commit is contained in:
Christopher Chedeau 2015-03-23 09:47:28 -07:00
parent ca47be3d38
commit a738b49ae2
3 changed files with 14 additions and 2 deletions

View File

@ -4,7 +4,7 @@ title: Getting Started
layout: docs
category: Quick Start
permalink: docs/getting-started.html
next: pixels
next: videos
---
Our first React Native implementation is `ReactKit`, targeting iOS. We are also

12
docs/Videos.md Normal file
View File

@ -0,0 +1,12 @@
---
id: videos
title: Videos
layout: docs
category: Community Resources
permalink: docs/videos.html
next: pixels
---
<iframe width="650" height="315" src="//www.youtube.com/embed/KVZ-P-ZI6W4" frameborder="0" allowfullscreen></iframe>
<iframe width="650" height="315" src="//www.youtube.com/embed/7rDsRXj9-cU" frameborder="0" allowfullscreen></iframe>

View File

@ -900,7 +900,7 @@ Parser.prototype.tok = function() {
}
case 'html': {
return !this.token.pre && !this.options.pedantic
? this.inline.output(this.token.text)
? React.DOM.span({dangerouslySetInnerHTML: {__html: this.token.text}})
: this.token.text;
}
case 'paragraph': {