mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-13 14:57:54 +02:00
Extend Marked.js in order to support React Native's code players (#109)
* Extend Marked.js to support SnackPlayer and the WebPlayer, as used in React Native
This commit is contained in:
parent
069d5b3870
commit
419a11af3e
3 changed files with 67 additions and 9 deletions
|
@ -71,6 +71,8 @@ class Head extends React.Component {
|
|||
{includeGithubButton &&
|
||||
<script async defer src="https://buttons.github.io/buttons.js" />
|
||||
}
|
||||
<script type="text/javascript" src={this.props.config.baseUrl + "js/webplayer.js"} />
|
||||
<script type="text/javascript" src="https://snack.expo.io/embed.js" />
|
||||
</head>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue