@sveltia/cms 0.112.4 → 0.112.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -4
- package/dist/sveltia-cms.js +213 -213
- package/dist/sveltia-cms.js.map +1 -1
- package/dist/sveltia-cms.mjs +206 -206
- package/dist/sveltia-cms.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -505,6 +505,7 @@ Sveltia CMS supports all the [built-in widgets](https://decapcms.org/docs/widget
|
|
|
505
505
|
- For [better security](#better-security), the `sanitize_preview` option defaults to `true` since [Sveltia CMS 0.105.0](https://github.com/sveltia/sveltia-cms/releases/tag/v0.105.0).
|
|
506
506
|
- The default editor mode can be set by changing the order of the `modes` option.[^58] If you want to use the plain text editor by default, add `modes: [raw, rich_text]` to the field configuration.
|
|
507
507
|
- A Markdown field plays well with a variable type List field.[^202]
|
|
508
|
+
- The bullet list marker is a hyphen (`-`) rather than an asterisk (`*`), which is the comment form’s default behaviour on GitHub and GitLab.[^296]
|
|
508
509
|
- A combination of bold and italic doesn’t create a confusing 3-asterisk markup.[^160] In our editor, bold is 2 asterisks and italic is an underscore.
|
|
509
510
|
- The built-in `image` component can be inserted with a single click.
|
|
510
511
|
- The built-in `image` component allows users to add, edit or remove a link on an image.[^171] To disable this feature, add `linked_images: false` to the Markdown field options.
|
|
@@ -1226,11 +1227,16 @@ Note that the Translation button on the pane header only translates empty fields
|
|
|
1226
1227
|
|
|
1227
1228
|
You can also provide your API keys in the Settings dialog or change the default translation service. API keys are stored in the browser’s local storage, so you don’t need to enter them every time.
|
|
1228
1229
|
|
|
1229
|
-
If you don’t want some text to be translated, use the HTML [`translate`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/translate) attribute or [`notranslate`](https://developers.google.com/search/blog/2008/10/helping-you-break-language-barrier) class
|
|
1230
|
+
If you don’t want some text to be translated, use the HTML [`translate`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/translate) attribute or [`notranslate`](https://developers.google.com/search/blog/2008/10/helping-you-break-language-barrier) class:
|
|
1230
1231
|
|
|
1231
1232
|
```html
|
|
1232
1233
|
<div translate="no">...</div>
|
|
1233
1234
|
<span class="notranslate">...</span>
|
|
1235
|
+
```
|
|
1236
|
+
|
|
1237
|
+
For Anthropic and OpenAI, you can also use the `notranslate` comment to exclude specific parts of Markdown content from translation:
|
|
1238
|
+
|
|
1239
|
+
```html
|
|
1234
1240
|
<!-- notranslate -->...<!-- /notranslate -->
|
|
1235
1241
|
{/* notranslate */}...{/* /notranslate */}
|
|
1236
1242
|
```
|
|
@@ -2620,10 +2626,12 @@ This project would not have been possible without the open source Netlify CMS pr
|
|
|
2620
2626
|
|
|
2621
2627
|
[^291]: Netlify/Decap CMS [#7612](https://github.com/decaporg/decap-cms/pull/7612)
|
|
2622
2628
|
|
|
2623
|
-
[^292]: Netlify/Decap CMS [7518](https://github.com/decaporg/decap-cms/issues/7518)
|
|
2629
|
+
[^292]: Netlify/Decap CMS [#7518](https://github.com/decaporg/decap-cms/issues/7518)
|
|
2624
2630
|
|
|
2625
|
-
[^293]: Netlify/Decap CMS [7616](https://github.com/decaporg/decap-cms/issues/7616)
|
|
2631
|
+
[^293]: Netlify/Decap CMS [#7616](https://github.com/decaporg/decap-cms/issues/7616)
|
|
2626
2632
|
|
|
2627
2633
|
[^294]: Netlify/Decap CMS [#7576](https://github.com/decaporg/decap-cms/issues/7576), [#7587](https://github.com/decaporg/decap-cms/issues/7587)
|
|
2628
2634
|
|
|
2629
|
-
[^295]: Netlify/Decap CMS [6243](https://github.com/decaporg/decap-cms/issues/6243)
|
|
2635
|
+
[^295]: Netlify/Decap CMS [#6243](https://github.com/decaporg/decap-cms/issues/6243)
|
|
2636
|
+
|
|
2637
|
+
[^296]: Netlify/Decap CMS [#7638](https://github.com/decaporg/decap-cms/discussions/7638)
|