From 299c0659ccd0d4b81429d5b75dc7699792979a6e Mon Sep 17 00:00:00 2001 From: Caelan Sayler Date: Sun, 3 Mar 2024 19:47:28 +0000 Subject: [PATCH] code highlight json --- docs/distributing/overview.mdx | 2 +- docusaurus.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/distributing/overview.mdx b/docs/distributing/overview.mdx index d62ffe0..475e890 100644 --- a/docs/distributing/overview.mdx +++ b/docs/distributing/overview.mdx @@ -44,7 +44,7 @@ When you provide a HTTP url to `UpdateManager`, it will search for this file. Fo For example, if you packed `1.0.0` and then `1.0.1` immediately after, the contents of this file might look like: -```json +```json title="releases.win.json" { "Assets": [ { diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 1932a5a..8bc04f3 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -157,7 +157,7 @@ const config: Config = { // copyright: `Copyright © ${new Date().getFullYear()} Velopack Ltd.`, // }, prism: { - additionalLanguages: ['csharp', 'rust', 'cpp', 'batch', 'powershell', 'java', 'toml'], + additionalLanguages: ['csharp', 'rust', 'cpp', 'batch', 'powershell', 'java', 'toml', 'json'], theme: prismThemes.oneLight, darkTheme: prismThemes.nightOwl, },