Skip to content

Commit

Permalink
Fix codeblock titles
Browse files Browse the repository at this point in the history
  • Loading branch information
Su5eD committed Oct 19, 2024
1 parent 5f616d8 commit bf0d77e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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": [],
Expand All @@ -30,7 +30,7 @@ multiple aliases for one mod.
</Callout>

Here's a minimal configuration example:
```json filename="connector.json"
```json title="connector.json"
{
"globalModAliases": {
"cloth_config": "cloth-config2",
Expand All @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions docs/developers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand All @@ -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
Expand All @@ -58,7 +58,7 @@ side="BOTH"
<details>
<summary>Show full example</summary>

```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"
Expand Down

0 comments on commit bf0d77e

Please sign in to comment.