From bf0d77e94dd9ce4a13d23009e500b73064457581 Mon Sep 17 00:00:00 2001 From: Su5eD Date: Sat, 19 Oct 2024 17:42:21 +0200 Subject: [PATCH] Fix codeblock titles --- docs/configuration.mdx | 6 +++--- docs/developers.mdx | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/configuration.mdx b/docs/configuration.mdx index 117b2f9..ca3c106 100644 --- a/docs/configuration.mdx +++ b/docs/configuration.mdx @@ -7,7 +7,7 @@ Connector offers multiple utility configuration options for improving mod compat These are found in the `config/connector.json` file relative to your root minecraft directory. If the file doesn't exist, Connector will generate one with the default configuration options. Each of these options is explained in detail below. -```json filename="connector.json" +```json title="connector.json" { "version": 1, "hiddenMods": [], @@ -30,7 +30,7 @@ multiple aliases for one mod. Here's a minimal configuration example: -```json filename="connector.json" +```json title="connector.json" { "globalModAliases": { "cloth_config": "cloth-config2", @@ -53,7 +53,7 @@ Inside the Connector configuration file, the `hiddenMods` field is defined as an Forge mod IDs found in this list will be excluded from being added to Fabric Loader, resulting in their presence being hidden from Fabric mods. Here's a minimal configuration example: -```json filename="connector.json" +```json title="connector.json" { "hiddenMods": [ "examplemod" diff --git a/docs/developers.mdx b/docs/developers.mdx index c0431b0..cb77132 100644 --- a/docs/developers.mdx +++ b/docs/developers.mdx @@ -37,7 +37,7 @@ To overcome this issue, Connector offers a placeholder mod feature that allows d dependencies without causing issues with duplicate mod IDs. To enable this feature, include a standard FML metadata file in your Forge release mod file with the following lines: -```toml copy filename="neoforge.mods.toml" +```toml copy title="neoforge.mods.toml" [properties] "connector:placeholder"=true ``` @@ -46,7 +46,7 @@ This will let Connector know the mod's FML metadata only acts as a placeholder, Fabric mod instead. You can now safely declare a dependency on Connector without having to worry about it being ignored. FML will promptly alert the user in case Connector is missing. -```toml copy filename="neoforge.mods.toml" +```toml copy title="neoforge.mods.toml" [[dependencies.examplemod]] modId="connector" mandatory=true @@ -58,7 +58,7 @@ side="BOTH"
Show full example - ```toml {5-6,29-34} filename="neoforge.mods.toml" + ```toml {5-6,29-34} title="neoforge.mods.toml" modLoader="javafml" loaderVersion="[47,)" license="CC0-1.0"