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:
Chongyi Zheng 2023-10-06 13:15:14 -04:00 committed by GitHub
parent df42d891c2
commit dceaae41d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 124 additions and 137 deletions

View file

@ -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',