clean up readme code block

This commit is contained in:
Ell 2024-07-29 17:49:19 +02:00
parent 89ea642b86
commit 1f5ed0c7ce

View file

@ -24,7 +24,8 @@ Contentless will now automatically add any content files from your `Content` dir
If you want to change the way Contentless works, you can use a configuration file. To do so, simply create a file named `Contentless.json` in the same directory as your `Content.mgcb` file. You can use the config to change several options: If you want to change the way Contentless works, you can use a configuration file. To do so, simply create a file named `Contentless.json` in the same directory as your `Content.mgcb` file. You can use the config to change several options:
```json5 ```json5
{ {
// The list of files that should be excluded. Can use simple glob-style patterns including "*" to match any number of any character, and "?" to match any single character. // The list of files that should be excluded.
// Can use simple glob-style patterns including "*" to match any number of any character, and "?" to match any single character.
// Default: ["obj/", "bin/"] // Default: ["obj/", "bin/"]
"exclude": [ "exclude": [
"obj/", "obj/",
@ -33,7 +34,8 @@ If you want to change the way Contentless works, you can use a configuration fil
// If any files that were skipped without errors should be logged (Files that already have entries or files that were ignored) // If any files that were skipped without errors should be logged (Files that already have entries or files that were ignored)
// Default: true // Default: true
"logSkipped": true, "logSkipped": true,
// The list of files that should use a different importer or processor than the one that Contentless automatically determined. Can use simple glob-style patterns including "*" to match any number of any character, and "?" to match any single character. // The list of files that should use a different importer or processor than the one that Contentless automatically determined.
// Can use simple glob-style patterns including "*" to match any number of any character, and "?" to match any single character.
// Default: {} // Default: {}
"overrides": { "overrides": {
// Example: Make all files matching ".json" use the importer "JsonImporter" // Example: Make all files matching ".json" use the importer "JsonImporter"
@ -60,7 +62,8 @@ If you want to change the way Contentless works, you can use a configuration fil
} }
} }
}, },
// A set of content pipeline library references that should optionally be added to the content file, or whose paths should be changed in the content file if they don't match the project's package references // A set of content pipeline library references that should optionally be added to the content files.
// The paths of these references in the content file are automatically changed if they don't match the project's package references.
// Default: [] // Default: []
"references": ["MonoGame.Extended.Content.Pipeline"] "references": ["MonoGame.Extended.Content.Pipeline"]
} }