|
| 1 | +--- |
| 2 | +title: Version 10.5.0 release notes |
| 3 | +description: Discover the key features and enhancements in Version 10.5.0, including new options for content management and improved language file handling. |
| 4 | +date: 2024-10-21T14:11:32.627Z |
| 5 | +lastmod: 2024-10-21T14:11:32.627Z |
| 6 | +slug: "10.5.0" |
| 7 | +fmContentType: changelog |
| 8 | +--- |
| 9 | + |
| 10 | +## New exclude paths option for the content folder settings |
| 11 | + |
| 12 | +You can now exclude specific path(s) from the content folder by specifying a list of paths in the `excludePaths` option. You can make use of wildcards to exclude folders. |
| 13 | + |
| 14 | +```json {{ "title": "Example of the excludePaths option" }} |
| 15 | +{ |
| 16 | + "frontMatter.content.pageFolders": [ |
| 17 | + { |
| 18 | + "title": "Documentation", |
| 19 | + "path": "[[workspace]]/docs", |
| 20 | + "excludePaths": [ |
| 21 | + "api", // Exclude the api folder |
| 22 | + "_*.*" // Exclude all files starting with an underscore |
| 23 | + ] |
| 24 | + }, |
| 25 | +} |
| 26 | +``` |
| 27 | + |
| 28 | +> **Info**: You can find more information about the content folder settings in the [content folders](/docs/content-creation/content-folders) documentation. |
| 29 | + |
| 30 | +## Extended i18n/language button to open or create new language files |
| 31 | + |
| 32 | +You can now open or create new language files directly from the i18n/language button. This feature allows you to manage your language files more efficiently. |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | +Thanks to [Dennis Zoma](https://github.com/wottpal) for contributing to this enhancement. |
| 37 | + |
| 38 | +> **Info**: You can find more information in the [multilingual](/docs/content-creation/multilingual) documentation. |
| 39 | + |
| 40 | +## New same content locale option for the contentRelationship field |
| 41 | + |
| 42 | +You can now specify to use the same content's locale for the `contentRelationship` field by using the `sameContentLocale` option. The default behavior is to use the current content's locale. |
| 43 | + |
| 44 | +```json {{ "title": "Example of the sameContentLocale option" }} |
| 45 | +{ |
| 46 | + "title": "Session", |
| 47 | + "name": "session", |
| 48 | + "type": "contentRelationship", |
| 49 | + "contentTypeName": "session", |
| 50 | + "contentTypeValue": "slug", |
| 51 | + "sameContentLocale": false // Default behavior is set to `true` |
| 52 | +} |
| 53 | +``` |
| 54 | + |
| 55 | +Thanks to [Dennis Zoma](https://github.com/wottpal) for contributing to this enhancement. |
| 56 | + |
| 57 | +> **Info**: You can find more information about the `contentRelationship` field in the [fields](/docs/content-creation/fields#contentrelationship) documentation. |
| 58 | +
|
| 59 | +## Support Markdown in the WYSIWYG string field |
| 60 | + |
| 61 | +You can now use Markdown in the WYSIWYG `string` field. By default the WYSIWYG option is returning HTML, but you can now switch to Markdown. |
| 62 | + |
| 63 | +```json {{ "title": "Example of the WYSIWYG string field with Markdown support" }} |
| 64 | +{ |
| 65 | + "title": "Markdown field", |
| 66 | + "name": "markdownField", |
| 67 | + "type": "string", |
| 68 | + "wysiwyg": "markdown" |
| 69 | +} |
| 70 | +``` |
| 71 | + |
| 72 | +> **Info**: You can find more information about the `string` field in the [fields](/docs/content-creation/fields#string) documentation. |
| 73 | +
|
| 74 | +## Related issues/enhancements |
| 75 | + |
| 76 | +### 🎨 Enhancements |
| 77 | + |
| 78 | +- [#840](https://github.com/estruyf/vscode-front-matter/issues/840): Added the `excludePaths` option for the content folder settings |
| 79 | +- [#850](https://github.com/estruyf/vscode-front-matter/issues/850): Extended the i18n/language button to open or create new language files (thanks to [Dennis Zoma](https://github.com/wottpal)) |
| 80 | +- [#851](https://github.com/estruyf/vscode-front-matter/issues/851): Added `sameContentLocale` option to `contentRelationship` field (thanks to [Dennis Zoma](https://github.com/wottpal)) |
| 81 | +- [#866](https://github.com/estruyf/vscode-front-matter/issues/866): Support Markdown in the WYSIWYG `string` field |
| 82 | + |
| 83 | +### 🐞 Fixes |
| 84 | + |
| 85 | +- [#858](https://github.com/estruyf/vscode-front-matter/issues/858): Fix button styling on the data screen |
| 86 | +- [#860](https://github.com/estruyf/vscode-front-matter/issues/860): Fix typo on the data screen |
| 87 | +- [#870](https://github.com/estruyf/vscode-front-matter/issues/870): Fix data number field styling |
0 commit comments