Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: File contains CRLF or CR line terminators while only LF is all… #68

Merged
merged 1 commit into from
Nov 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 25 additions & 25 deletions en/settings.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
# Settings
Standard YFM settings are listed below. Depending on the tool you use, you can configure them in one of the following ways:
* In a [configuration file](./project/config.md).
* As a function parameter ([Transformer](./tools/transform/settings.md)).
* Via startup keys ([Builder](./tools/docs/settings.md)).
| Name | Description | Type | Default value |
| :--- | :--- | :--- | :--- |
| `vars` | [Variables](./syntax/vars.md) | `Object` | `{}` |
| `allowHTML` | Allow HTML in markup | `bool` | `false` |
| `linkify` | Convert link-like strings to links | `bool` | `false` |
| `breaks` | Use the carriage return character for a line break | `bool` | `true` |
| `conditionsInCode` | Meet conditions in code blocks | `bool` | `false` |
| `disableLiquid` | Disable the use of variables | `bool` | `false` |
| `supportGithubAnchors` | Generate additional [anchors](./syntax/base.md#headers) that are compatible with GitHub | `bool` | `false` |
| `lang` | Localization language of default texts | `string` | `ru` |
`needToSanitizeHtml` | Need to sanitize the generated HTML | `bool` | `true`
`sanitizeOptions` | Sanitizer configuration | `Object` | `undefined`
`linkifyTlds` | Allow set tld for the linkify plugin | `string \| string[]` | `undefined`
`analytics` | Analytics module configuration | `Object` | `undefined`
`analytics.gtm` | Options for Google Tag Manager analytics | `Object` | `undefined`
`analytics.gtm.id` | ID of Google Tag Manager at format GTM-* | `string` | `undefined`
`analytics.gtm.mode` | Notification type before analytics events start being sent `base` or `notification` | `string` | `base`
# Settings

Standard YFM settings are listed below. Depending on the tool you use, you can configure them in one of the following ways:

* In a [configuration file](./project/config.md).
* As a function parameter ([Transformer](./tools/transform/settings.md)).
* Via startup keys ([Builder](./tools/docs/settings.md)).

| Name | Description | Type | Default value |
| :--- | :--- | :--- | :--- |
| `vars` | [Variables](./syntax/vars.md) | `Object` | `{}` |
| `allowHTML` | Allow HTML in markup | `bool` | `false` |
| `linkify` | Convert link-like strings to links | `bool` | `false` |
| `breaks` | Use the carriage return character for a line break | `bool` | `true` |
| `conditionsInCode` | Meet conditions in code blocks | `bool` | `false` |
| `disableLiquid` | Disable the use of variables | `bool` | `false` |
| `supportGithubAnchors` | Generate additional [anchors](./syntax/base.md#headers) that are compatible with GitHub | `bool` | `false` |
| `lang` | Localization language of default texts | `string` | `ru` |
`needToSanitizeHtml` | Need to sanitize the generated HTML | `bool` | `true`
`sanitizeOptions` | Sanitizer configuration | `Object` | `undefined`
`linkifyTlds` | Allow set tld for the linkify plugin | `string \| string[]` | `undefined`
`analytics` | Analytics module configuration | `Object` | `undefined`
`analytics.gtm` | Options for Google Tag Manager analytics | `Object` | `undefined`
`analytics.gtm.id` | ID of Google Tag Manager at format GTM-* | `string` | `undefined`
`analytics.gtm.mode` | Notification type before analytics events start being sent `base` or `notification` | `string` | `base`
Loading