Skip to content

Commit 82b6059

Browse files
committed
EN, CZ : Changed/Defined logic for HTML Unicode icons printing behavior explanation added
1 parent a2be34d commit 82b6059

File tree

4 files changed

+60
-0
lines changed

4 files changed

+60
-0
lines changed

cs/helpCfg.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ klíč|hodnota
3030
| OverrideColorTheme | Přepíše uživatelské schéma barev na konkrétní jiné a uloží hodnotu do konfigurace uživatele |
3131
| OverrideSidebarVisible | Přepíše uživatelskou volbu, zda bude levý panel viditelný a uloží hodnotu do konfigurace uživatele |
3232

33+
### Přepsání výchozího chování UI
34+
35+
| Jméno klíče | Popis a význam |
36+
|---|---|
37+
| OverridePrintKeepIcons | Přepíše výchozí chování odebírání HTML ikonek při tisku. Výchozí: 0. 1 = tisk textu včetně ikonek. Direktiva \<\!-- @print-keep-icons --\> v textu tématu logiku této konfigurace pro konkrétní téma obrací do opačného stavu. |
38+
3339
### Klíče, které řídí proces vydávání
3440
| Jméno klíče | Popis a význam |
3541
|---|---|

cs/texts.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,30 @@ Vložení do textu kapitoly provedete buďto přímou kopií znaku, nebo vložen
2121

2222
Pro konkrétní kódy a situace doporučuji použití Copilot/ChatGPT, které Vám pomohou rychle najít vhodné příklady.
2323

24+
### Ikonky a tisk
25+
26+
Před přípravou tisku jsou ikonky automaticky odebírány z textu. Pokud Vám toto chování nevyhovuje, můžete jej upravit buď na úrovni konfigurace celé nápovědy, nebo pomocí direktivy v konkrétním tématu.
27+
28+
Chcete-li ikonky zachovat v konkrétním tématu, vložte tuto direktivu po prvním nadpisu kapitoly (nesmí být před nadpisem) nebo později v textu tématu:
29+
30+
```markdown
31+
# &#128214;Help Viewer přehled
32+
33+
<!-- @print-keep-icons -->
34+
Aplikace je rozdělena na dvě hlavní oblasti:
35+
```
36+
37+
Chcete-li ikonky zachovat ve všech tématech, nastavte konfigurační volbu nápovědy **OverridePrintKeepIcons** na 1.
38+
39+
Podrobnější popis chování:
40+
41+
| OverridePrintKeepIcons | print-keep-icons | Výsledek |
42+
|---|---|---|
43+
| 0 / není | není | ikonky odebrány |
44+
| 1 | není | ikonky zachovány |
45+
| 0 | je | ikonky zachovány |
46+
| 1 | je | ikonky odebrány |
47+
2448
## Seznamy
2549

2650
Odrážkové seznamy nezbytně musí mít mezeru za označením (číslo u číslovaného, - u nečíslovaného seznamu):

en/helpCfg.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ key|value
3030
| OverrideColorTheme | Overwrites user selection of color scheme and saves it to user's configuration |
3131
| OverrideSidebarVisible | Overwrites user selection if left panel will be visible and saves it to user's configuration |
3232

33+
### Override default UI behavior
34+
35+
| Key name | Meaning |
36+
|---|---|
37+
| OverridePrintKeepIcons | Overrides the default behavior of removing HTML icons when printing. Default: 0. 1 = print text including icons. The \<!-- @print-keep-icons --\> directive in the topic text reverses the logic of this configuration for a particular topic. |
38+
3339
### Managed by publishing process
3440
| Key name | Meaning |
3541
|---|---|

en/texts.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,30 @@ The insertion into the chapter text is done either by direct copy of the charact
2121

2222
For exact codes and situations I advice to use Copilot/ChatGPT, which will help you find suitable icons quickly.
2323

24+
### Icons and printing
25+
26+
Icons are automatically removed from the text before printing. If you are not comfortable with this behavior, you can modify it either at the configuration level of the entire help or by using a directive in a specific topic.
27+
28+
If you want to keep the icons in a specific topic, insert this directive after the first chapter heading (it must not be before the heading) or later in the topic text:
29+
30+
```markdown
31+
# &#128214;Help Viewer overview
32+
33+
<!-- @print-keep-icons -->
34+
The application is divided into two main areas:
35+
```
36+
37+
To keep the icons in all topics, set the help configuration option **OverridePrintKeepIcons** to 1.
38+
39+
For a more detailed description of the behavior:
40+
41+
| OverridePrintKeepIcons | print-keep-icons | Result |
42+
|---|---|---|
43+
| 0 / not | not | icons removed |
44+
| 1 | not | icons retained |
45+
| 0 | is | icons retained |
46+
| 1 | is | icons removed |
47+
2448
## Lists
2549

2650
For correct bullet list item there is required to have a space between marking (number for numbered list, - for bullet list):

0 commit comments

Comments
 (0)