Add codeblock buttons
Summary: Shamelessly ripped off from docusaurus.io Reviewed By: jknoxville Differential Revision: D15123501 fbshipit-source-id: 10451c72494e022af5887d4c78ef0db1ff581254
This commit is contained in:
committed by
Facebook Github Bot
parent
ffea2ee30e
commit
d41df85ab7
@@ -33,8 +33,12 @@ const siteConfig = {
|
||||
highlight: {
|
||||
theme: 'default',
|
||||
},
|
||||
scripts: [
|
||||
'https://buttons.github.io/buttons.js',
|
||||
'https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js',
|
||||
'/js/code-blocks-buttons.js',
|
||||
],
|
||||
repoUrl,
|
||||
scripts: ['https://buttons.github.io/buttons.js'],
|
||||
stylesheets: [],
|
||||
onPageNav: 'separate',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user