Skip to content

Commit

Permalink
docs: 修复文档站点 prismjs 支持语言
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyadam committed Apr 9, 2020
1 parent fbb74fd commit d7d368f
Show file tree
Hide file tree
Showing 2 changed files with 1,985 additions and 3,762 deletions.
2 changes: 1 addition & 1 deletion website/siteConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const siteConfig = {
themeUrl: 'https://storage.jd.com/taro-resource/vs.min.css'
},

usePrism: true,
usePrism: ['javascript', 'jsx', 'tsx', 'typescript', 'bash'],

// Add custom scripts here that would be placed in <script> tags
scripts: [
Expand Down
Loading

0 comments on commit d7d368f

Please sign in to comment.