Skip to content

Commit

Permalink
clean up readme code block
Browse files Browse the repository at this point in the history
  • Loading branch information
Ellpeck committed Jul 29, 2024
1 parent 89ea642 commit 1f5ed0c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
```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/"]
"exclude": [
"obj/",
Expand All @@ -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)
// Default: 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: {}
"overrides": {
// Example: Make all files matching ".json" use the importer "JsonImporter"
Expand All @@ -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: []
"references": ["MonoGame.Extended.Content.Pipeline"]
}
Expand Down

0 comments on commit 1f5ed0c

Please sign in to comment.