diff --git a/docs/tutorial/recent-documents.md b/docs/tutorial/recent-documents.md index db5162b1267d..c1c4d7dcd180 100644 --- a/docs/tutorial/recent-documents.md +++ b/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" + } + ] + } + ] } ```