mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-23 05:57:05 +02:00
chore: upgrade syntax highlighting dependencies, prism-react-renderer
to v2, react-live
to v4 (#9316)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
This commit is contained in:
parent
df42d891c2
commit
dceaae41d7
26 changed files with 124 additions and 137 deletions
|
@ -478,7 +478,15 @@ module.exports = async function createConfigAsync() {
|
|||
content: `⭐️ If you like Docusaurus, give it a star on <a target="_blank" rel="noopener noreferrer" href="https://github.com/facebook/docusaurus">GitHub</a> and follow us on <a target="_blank" rel="noopener noreferrer" href="https://twitter.com/docusaurus">Twitter ${TwitterSvg}</a>`,
|
||||
},
|
||||
prism: {
|
||||
additionalLanguages: ['java', 'latex', 'PHp'],
|
||||
additionalLanguages: [
|
||||
'java',
|
||||
'latex',
|
||||
'PHp',
|
||||
'bash',
|
||||
'diff',
|
||||
'json',
|
||||
'scss',
|
||||
],
|
||||
magicComments: [
|
||||
{
|
||||
className: 'theme-code-block-highlighted-line',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue