diff options
Diffstat (limited to 'client/src/app/shared/shared-main/misc/help.component.ts')
-rw-r--r-- | client/src/app/shared/shared-main/misc/help.component.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/client/src/app/shared/shared-main/misc/help.component.ts b/client/src/app/shared/shared-main/misc/help.component.ts index 76e255d99..37e2abd97 100644 --- a/client/src/app/shared/shared-main/misc/help.component.ts +++ b/client/src/app/shared/shared-main/misc/help.component.ts | |||
@@ -71,18 +71,18 @@ export class HelpComponent implements OnInit, OnChanges, AfterContentInit { | |||
71 | } | 71 | } |
72 | 72 | ||
73 | private formatMarkdownSupport (rules: string[]) { | 73 | private formatMarkdownSupport (rules: string[]) { |
74 | // tslint:disable:max-line-length | 74 | /* eslint-disable max-len */ |
75 | return $localize`<a href="https://en.wikipedia.org/wiki/Markdown#Example" target="_blank" rel="noopener noreferrer">Markdown</a> compatible that supports:` + | 75 | return $localize`<a href="https://en.wikipedia.org/wiki/Markdown#Example" target="_blank" rel="noopener noreferrer">Markdown</a> compatible that supports:` + |
76 | this.createMarkdownList(rules) | 76 | this.createMarkdownList(rules) |
77 | } | 77 | } |
78 | 78 | ||
79 | private createMarkdownList (rules: string[]) { | 79 | private createMarkdownList (rules: string[]) { |
80 | const rulesToText = { | 80 | const rulesToText = { |
81 | 'emphasis': $localize`Emphasis`, | 81 | emphasis: $localize`Emphasis`, |
82 | 'link': $localize`Links`, | 82 | link: $localize`Links`, |
83 | 'newline': $localize`New lines`, | 83 | newline: $localize`New lines`, |
84 | 'list': $localize`Lists`, | 84 | list: $localize`Lists`, |
85 | 'image': $localize`Images` | 85 | image: $localize`Images` |
86 | } | 86 | } |
87 | 87 | ||
88 | const bullets = rules.map(r => rulesToText[r]) | 88 | const bullets = rules.map(r => rulesToText[r]) |