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

Update settings.md #44

Merged
merged 2 commits into from
Aug 5, 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
4 changes: 4 additions & 0 deletions en/settings.md
Original file line number Diff line number Diff line change
@@ -19,3 +19,7 @@ Standard YFM settings are listed below. Depending on the tool you use, you can c
`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`
6 changes: 5 additions & 1 deletion ru/settings.md
Original file line number Diff line number Diff line change
@@ -17,4 +17,8 @@
`lang` | Язык локализации дефолтных текстов | `string` | `ru`
`needToSanitizeHtml` | Нужно ли санитайзить сгенерированный HTML | `bool` | `true`
`sanitizeOptions` | Конфигурация санитайзера | `Object` | `undefined`
`linkifyTlds` | Настройка tld для плагина linkify | `string \| string[]` | `undefined`
`linkifyTlds` | Настройка tld для плагина linkify | `string \| string[]` | `undefined`
`analytics` | Конфигурация для модуля аналитки | `Object` | `undefined`
`analytics.gtm` | Настройки Google Tag Manager аналитики | `Object` | `undefined`
`analytics.gtm.id` | Идентификатор Google Tag Manager в формате GTM-* | `string` | `undefined`
`analytics.gtm.mode` | Тип уведомления перед отправкой событий `base` или `notification` | `string` | `base`