Browse Source

build: fix linting issue in docs (#24710)

Samuel Attard 4 years ago
parent
commit
2162eeb609
1 changed files with 13 additions and 13 deletions
  1. 13 13
      docs/tutorial/recent-documents.md

+ 13 - 13
docs/tutorial/recent-documents.md

@@ -45,20 +45,20 @@ will be started with the path of the file added as a command line argument.
 
 You can add menu items to access and clear recent documents by adding the following code snippet to your menu's template.
 
-```javascript
+```json
 {
-   "submenu":[
-      {
-         "label":"Open Recent",
-         "role":"recentdocuments",
-         "submenu":[
-            {
-               "label":"Clear Recent",
-               "role":"clearrecentdocuments"
-            }
-         ]
-      }
-   ]
+  "submenu":[
+    {
+      "label":"Open Recent",
+      "role":"recentdocuments",
+      "submenu":[
+        {
+          "label":"Clear Recent",
+          "role":"clearrecentdocuments"
+        }
+      ]
+    }
+  ]
 }
 ```