Browse Source

:neutral_face:

windhamdavid 2 years ago
parent
commit
9f61ed9bf7
2 changed files with 4 additions and 4 deletions
  1. 1 2
      docusaurus.config.js
  2. 3 2
      src/pages/help.md

+ 1 - 2
docusaurus.config.js

@@ -52,8 +52,7 @@ module.exports = {
       },
     },
     prism: {
-      additionalLanguages: ['shell-session'],
-      additionalLanguages: ['swift'],
+      additionalLanguages: ['rust', 'shell-session', 'swift', 'diff'],
     },
     colorMode: {
       defaultMode: 'dark',

+ 3 - 2
src/pages/help.md

@@ -75,11 +75,12 @@ react-dom                          17.0.2  17.0.2  18.2.0  node_modules/react-do
 
 - lunr-search broken  ( see: https://github.com/praveenn77/docusaurus-lunr-search/pull/91 ) made the following change in the plugin to fix 
 
-```
+```diff
 src/theme/SearchBar/lunar-search.js
 29  - url: this.baseUrl !== '/' || doc.url.charAt(0) !== '/' ? this.baseUrl + doc.url : doc.url,
     + url: doc.url,
-```
+```  
+
 #### 12/04/2021
 
 - added in [Notes](/notes) for non-technical docs