nodebb-plugin-markdown 12.2.3 → 12.2.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/.jshintrc CHANGED
@@ -1,86 +1,86 @@
1
- {
2
- // JSHint Default Configuration File (as on JSHint website)
3
- // See http://jshint.com/docs/ for more details
4
-
5
- "maxerr" : 50, // {int} Maximum error before stopping
6
-
7
- // Enforcing
8
- "bitwise" : true, // true: Prohibit bitwise operators (&, |, ^, etc.)
9
- "camelcase" : false, // true: Identifiers must be in camelCase
10
- "curly" : true, // true: Require {} for every new block or scope
11
- "eqeqeq" : true, // true: Require triple equals (===) for comparison
12
- "forin" : true, // true: Require filtering for..in loops with obj.hasOwnProperty()
13
- "immed" : false, // true: Require immediate invocations to be wrapped in parens e.g. `(function () { } ());`
14
- "indent" : 4, // {int} Number of spaces to use for indentation
15
- "latedef" : false, // true: Require variables/functions to be defined before being used
16
- "newcap" : false, // true: Require capitalization of all constructor functions e.g. `new F()`
17
- "noarg" : true, // true: Prohibit use of `arguments.caller` and `arguments.callee`
18
- "noempty" : true, // true: Prohibit use of empty blocks
19
- "nonew" : false, // true: Prohibit use of constructors for side-effects (without assignment)
20
- "plusplus" : false, // true: Prohibit use of `++` & `--`
21
- "quotmark" : false, // Quotation mark consistency:
22
- // false : do nothing (default)
23
- // true : ensure whatever is used is consistent
24
- // "single" : require single quotes
25
- // "double" : require double quotes
26
- "undef" : true, // true: Require all non-global variables to be declared (prevents global leaks)
27
- "unused" : true, // true: Require all defined variables be used
28
- "strict" : true, // true: Requires all functions run in ES5 Strict Mode
29
- "trailing" : false, // true: Prohibit trailing whitespaces
30
- "maxparams" : false, // {int} Max number of formal params allowed per function
31
- "maxdepth" : false, // {int} Max depth of nested blocks (within functions)
32
- "maxstatements" : false, // {int} Max number statements per function
33
- "maxcomplexity" : false, // {int} Max cyclomatic complexity per function
34
- "maxlen" : false, // {int} Max number of characters per line
35
-
36
- // Relaxing
37
- "asi" : false, // true: Tolerate Automatic Semicolon Insertion (no semicolons)
38
- "boss" : false, // true: Tolerate assignments where comparisons would be expected
39
- "debug" : false, // true: Allow debugger statements e.g. browser breakpoints.
40
- "eqnull" : false, // true: Tolerate use of `== null`
41
- "es5" : false, // true: Allow ES5 syntax (ex: getters and setters)
42
- "esnext" : false, // true: Allow ES.next (ES6) syntax (ex: `const`)
43
- "moz" : false, // true: Allow Mozilla specific syntax (extends and overrides esnext features)
44
- // (ex: `for each`, multiple try/catch, function expression…)
45
- "evil" : false, // true: Tolerate use of `eval` and `new Function()`
46
- "expr" : false, // true: Tolerate `ExpressionStatement` as Programs
47
- "funcscope" : false, // true: Tolerate defining variables inside control statements"
48
- "globalstrict" : false, // true: Allow global "use strict" (also enables 'strict')
49
- "iterator" : false, // true: Tolerate using the `__iterator__` property
50
- "lastsemic" : false, // true: Tolerate omitting a semicolon for the last statement of a 1-line block
51
- "laxbreak" : false, // true: Tolerate possibly unsafe line breakings
52
- "laxcomma" : false, // true: Tolerate comma-first style coding
53
- "loopfunc" : false, // true: Tolerate functions being defined in loops
54
- "multistr" : false, // true: Tolerate multi-line strings
55
- "proto" : false, // true: Tolerate using the `__proto__` property
56
- "scripturl" : false, // true: Tolerate script-targeted URLs
57
- "smarttabs" : false, // true: Tolerate mixed tabs/spaces when used for alignment
58
- "shadow" : false, // true: Allows re-define variables later in code e.g. `var x=1; x=2;`
59
- "sub" : false, // true: Tolerate using `[]` notation when it can still be expressed in dot notation
60
- "supernew" : false, // true: Tolerate `new function () { ... };` and `new Object;`
61
- "validthis" : false, // true: Tolerate using this in a non-constructor function
62
-
63
- // Environments
64
- "browser" : true, // Web Browser (window, document, etc)
65
- "couch" : false, // CouchDB
66
- "devel" : true, // Development/debugging (alert, confirm, etc)
67
- "dojo" : false, // Dojo Toolkit
68
- "jquery" : true, // jQuery
69
- "mootools" : false, // MooTools
70
- "node" : true, // Node.js
71
- "nonstandard" : false, // Widely adopted globals (escape, unescape, etc)
72
- "prototypejs" : false, // Prototype and Scriptaculous
73
- "rhino" : false, // Rhino
74
- "worker" : false, // Web Workers
75
- "wsh" : false, // Windows Scripting Host
76
- "yui" : false, // Yahoo User Interface
77
-
78
- // Legacy
79
- "nomen" : false, // true: Prohibit dangling `_` in variables
80
- "onevar" : false, // true: Allow only one `var` statement per function
81
- "passfail" : false, // true: Stop on first error
82
- "white" : false, // true: Check against strict whitespace and indentation rules
83
-
84
- // Custom Globals
85
- "globals" : {} // additional predefined global variables
1
+ {
2
+ // JSHint Default Configuration File (as on JSHint website)
3
+ // See http://jshint.com/docs/ for more details
4
+
5
+ "maxerr" : 50, // {int} Maximum error before stopping
6
+
7
+ // Enforcing
8
+ "bitwise" : true, // true: Prohibit bitwise operators (&, |, ^, etc.)
9
+ "camelcase" : false, // true: Identifiers must be in camelCase
10
+ "curly" : true, // true: Require {} for every new block or scope
11
+ "eqeqeq" : true, // true: Require triple equals (===) for comparison
12
+ "forin" : true, // true: Require filtering for..in loops with obj.hasOwnProperty()
13
+ "immed" : false, // true: Require immediate invocations to be wrapped in parens e.g. `(function () { } ());`
14
+ "indent" : 4, // {int} Number of spaces to use for indentation
15
+ "latedef" : false, // true: Require variables/functions to be defined before being used
16
+ "newcap" : false, // true: Require capitalization of all constructor functions e.g. `new F()`
17
+ "noarg" : true, // true: Prohibit use of `arguments.caller` and `arguments.callee`
18
+ "noempty" : true, // true: Prohibit use of empty blocks
19
+ "nonew" : false, // true: Prohibit use of constructors for side-effects (without assignment)
20
+ "plusplus" : false, // true: Prohibit use of `++` & `--`
21
+ "quotmark" : false, // Quotation mark consistency:
22
+ // false : do nothing (default)
23
+ // true : ensure whatever is used is consistent
24
+ // "single" : require single quotes
25
+ // "double" : require double quotes
26
+ "undef" : true, // true: Require all non-global variables to be declared (prevents global leaks)
27
+ "unused" : true, // true: Require all defined variables be used
28
+ "strict" : true, // true: Requires all functions run in ES5 Strict Mode
29
+ "trailing" : false, // true: Prohibit trailing whitespaces
30
+ "maxparams" : false, // {int} Max number of formal params allowed per function
31
+ "maxdepth" : false, // {int} Max depth of nested blocks (within functions)
32
+ "maxstatements" : false, // {int} Max number statements per function
33
+ "maxcomplexity" : false, // {int} Max cyclomatic complexity per function
34
+ "maxlen" : false, // {int} Max number of characters per line
35
+
36
+ // Relaxing
37
+ "asi" : false, // true: Tolerate Automatic Semicolon Insertion (no semicolons)
38
+ "boss" : false, // true: Tolerate assignments where comparisons would be expected
39
+ "debug" : false, // true: Allow debugger statements e.g. browser breakpoints.
40
+ "eqnull" : false, // true: Tolerate use of `== null`
41
+ "es5" : false, // true: Allow ES5 syntax (ex: getters and setters)
42
+ "esnext" : false, // true: Allow ES.next (ES6) syntax (ex: `const`)
43
+ "moz" : false, // true: Allow Mozilla specific syntax (extends and overrides esnext features)
44
+ // (ex: `for each`, multiple try/catch, function expression…)
45
+ "evil" : false, // true: Tolerate use of `eval` and `new Function()`
46
+ "expr" : false, // true: Tolerate `ExpressionStatement` as Programs
47
+ "funcscope" : false, // true: Tolerate defining variables inside control statements"
48
+ "globalstrict" : false, // true: Allow global "use strict" (also enables 'strict')
49
+ "iterator" : false, // true: Tolerate using the `__iterator__` property
50
+ "lastsemic" : false, // true: Tolerate omitting a semicolon for the last statement of a 1-line block
51
+ "laxbreak" : false, // true: Tolerate possibly unsafe line breakings
52
+ "laxcomma" : false, // true: Tolerate comma-first style coding
53
+ "loopfunc" : false, // true: Tolerate functions being defined in loops
54
+ "multistr" : false, // true: Tolerate multi-line strings
55
+ "proto" : false, // true: Tolerate using the `__proto__` property
56
+ "scripturl" : false, // true: Tolerate script-targeted URLs
57
+ "smarttabs" : false, // true: Tolerate mixed tabs/spaces when used for alignment
58
+ "shadow" : false, // true: Allows re-define variables later in code e.g. `var x=1; x=2;`
59
+ "sub" : false, // true: Tolerate using `[]` notation when it can still be expressed in dot notation
60
+ "supernew" : false, // true: Tolerate `new function () { ... };` and `new Object;`
61
+ "validthis" : false, // true: Tolerate using this in a non-constructor function
62
+
63
+ // Environments
64
+ "browser" : true, // Web Browser (window, document, etc)
65
+ "couch" : false, // CouchDB
66
+ "devel" : true, // Development/debugging (alert, confirm, etc)
67
+ "dojo" : false, // Dojo Toolkit
68
+ "jquery" : true, // jQuery
69
+ "mootools" : false, // MooTools
70
+ "node" : true, // Node.js
71
+ "nonstandard" : false, // Widely adopted globals (escape, unescape, etc)
72
+ "prototypejs" : false, // Prototype and Scriptaculous
73
+ "rhino" : false, // Rhino
74
+ "worker" : false, // Web Workers
75
+ "wsh" : false, // Windows Scripting Host
76
+ "yui" : false, // Yahoo User Interface
77
+
78
+ // Legacy
79
+ "nomen" : false, // true: Prohibit dangling `_` in variables
80
+ "onevar" : false, // true: Allow only one `var` statement per function
81
+ "passfail" : false, // true: Stop on first error
82
+ "white" : false, // true: Check against strict whitespace and indentation rules
83
+
84
+ // Custom Globals
85
+ "globals" : {} // additional predefined global variables
86
86
  }
package/README.md CHANGED
@@ -1,9 +1,9 @@
1
- # NodeBB Markdown Parser
2
-
3
- This NodeBB plugin is a parser that allows users to write posts using [Markdown](https://daringfireball.net/projects/markdown/).
4
-
5
- To customise options for the parser, please consult the "Markdown" page in the administration panel, under the "Plugins" heading.
6
-
7
- ## Installation
8
-
9
- npm install nodebb-plugin-markdown
1
+ # NodeBB Markdown Parser
2
+
3
+ This NodeBB plugin is a parser that allows users to write posts using [Markdown](https://daringfireball.net/projects/markdown/).
4
+
5
+ To customise options for the parser, please consult the "Markdown" page in the administration panel, under the "Plugins" heading.
6
+
7
+ ## Installation
8
+
9
+ npm install nodebb-plugin-markdown
package/index.js CHANGED
@@ -266,7 +266,7 @@ const Markdown = {
266
266
  },
267
267
 
268
268
  renderHelp: async function (helpContent) {
269
- const translated = await translator.translate('[[markdown:help_text]]');
269
+ const translated = await translator.translate('[[markdown:help-text]]');
270
270
  const parsed = await plugins.hooks.fire('filter:parse.raw', `## Markdown\n${translated}`);
271
271
  const html = await app.renderAsync('modals/markdown-help', {});
272
272
  helpContent += parsed + html;
@@ -277,6 +277,18 @@ const Markdown = {
277
277
  const formatting = [
278
278
  { name: 'bold', className: 'fa fa-bold', title: '[[modules:composer.formatting.bold]]' },
279
279
  { name: 'italic', className: 'fa fa-italic', title: '[[modules:composer.formatting.italic]]' },
280
+ {
281
+ className: 'fa fa-heading',
282
+ title: '[[modules:composer.formatting.heading]]',
283
+ dropdownItems: [
284
+ { name: 'heading1', text: '[[modules:composer.formatting.heading1]]' },
285
+ { name: 'heading2', text: '[[modules:composer.formatting.heading2]]' },
286
+ { name: 'heading3', text: '[[modules:composer.formatting.heading3]]' },
287
+ { name: 'heading4', text: '[[modules:composer.formatting.heading4]]' },
288
+ { name: 'heading5', text: '[[modules:composer.formatting.heading5]]' },
289
+ { name: 'heading6', text: '[[modules:composer.formatting.heading6]]' },
290
+ ],
291
+ },
280
292
  { name: 'list', className: 'fa fa-list-ul', title: '[[modules:composer.formatting.list]]' },
281
293
  { name: 'strikethrough', className: 'fa fa-strikethrough', title: '[[modules:composer.formatting.strikethrough]]' },
282
294
  { name: 'code', className: 'fa fa-code', title: '[[modules:composer.formatting.code]]' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-markdown",
3
- "version": "12.2.3",
3
+ "version": "12.2.5",
4
4
  "description": "A Markdown parser for NodeBB",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -52,6 +52,23 @@ export function prepareFormattingTools() {
52
52
  ], function (formatting, controls, translator) {
53
53
  if (formatting && controls) {
54
54
  translator.getTranslations(window.config.userLang || window.config.defaultLang, 'markdown', function (strings) {
55
+ // used for h1,h2...h6
56
+ function formatHeading(heading, textarea, selectionStart, selectionEnd) {
57
+ if (selectionStart === selectionEnd) {
58
+ controls.insertIntoTextarea(textarea, `${heading} ${strings.heading}`);
59
+
60
+ controls.updateTextareaSelection(
61
+ textarea, selectionStart + heading.length + 1, selectionStart + strings.heading.length + heading.length + 1
62
+ );
63
+ } else {
64
+ const selectedText = $(textarea).val().substring(selectionStart, selectionEnd);
65
+ const newText = `${heading} ${selectedText}`;
66
+ controls.replaceSelectionInTextareaWith(textarea, newText);
67
+ controls.updateTextareaSelection(textarea, selectionStart + (heading.length + 1), selectionEnd + (newText.length - selectedText.length));
68
+ }
69
+ }
70
+
71
+
55
72
  formatting.addButtonDispatch('bold', function (textarea, selectionStart, selectionEnd) {
56
73
  if (selectionStart === selectionEnd) {
57
74
  var block = controls.getBlockData(textarea, '**', selectionStart);
@@ -94,19 +111,25 @@ export function prepareFormattingTools() {
94
111
  }
95
112
  });
96
113
 
114
+ [1, 2, 3, 4, 5, 6].forEach((size) => {
115
+ formatting.addButtonDispatch(`heading${size}`, function (textarea, selectionStart, selectionEnd) {
116
+ formatHeading(new Array(size).fill('#').join(''), textarea, selectionStart, selectionEnd);
117
+ });
118
+ })
119
+
97
120
  formatting.addButtonDispatch('list', function (textarea, selectionStart, selectionEnd) {
98
121
  if (selectionStart === selectionEnd) {
99
- controls.insertIntoTextarea(textarea, '\n* ' + strings.list_item);
122
+ controls.insertIntoTextarea(textarea, '\n* ' + strings['list-item']);
100
123
 
101
124
  // Highlight "list item"
102
125
  controls.updateTextareaSelection(
103
- textarea, selectionStart + 3, selectionStart + strings.list_item.length + 3
126
+ textarea, selectionStart + 3, selectionStart + strings['list-item'].length + 3
104
127
  );
105
128
  } else {
106
129
  const selectedText = $(textarea).val().substring(selectionStart, selectionEnd);
107
130
  const newText = '* ' + selectedText.split('\n').join('\n* ');
108
131
  controls.replaceSelectionInTextareaWith(textarea, newText);
109
- controls.updateTextareaSelection(textarea, selectionStart, selectionEnd + (newText.length - selectedText.length));
132
+ controls.updateTextareaSelection(textarea, selectionStart + 2, selectionEnd + (newText.length - selectedText.length));
110
133
  }
111
134
  });
112
135
 
@@ -118,9 +141,9 @@ export function prepareFormattingTools() {
118
141
  // At end of bolded string, move cursor past delimiters
119
142
  controls.updateTextareaSelection(textarea, selectionStart + 2, selectionStart + 2);
120
143
  } else {
121
- controls.insertIntoTextarea(textarea, '~~' + strings.strikethrough_text + '~~');
144
+ controls.insertIntoTextarea(textarea, '~~' + strings['strikethrough-text'] + '~~');
122
145
  controls.updateTextareaSelection(
123
- textarea, selectionStart + 2, selectionEnd + strings.strikethrough_text.length + 2
146
+ textarea, selectionStart + 2, selectionEnd + strings['strikethrough-text'].length + 2
124
147
  );
125
148
  }
126
149
  } else {
@@ -133,9 +156,9 @@ export function prepareFormattingTools() {
133
156
 
134
157
  formatting.addButtonDispatch('code', function (textarea, selectionStart, selectionEnd) {
135
158
  if (selectionStart === selectionEnd) {
136
- controls.insertIntoTextarea(textarea, '```\n' + strings.code_text + '\n```');
159
+ controls.insertIntoTextarea(textarea, '```\n' + strings['code-text'] + '\n```');
137
160
  controls.updateTextareaSelection(
138
- textarea, selectionStart + 4, selectionEnd + strings.code_text.length + 4
161
+ textarea, selectionStart + 4, selectionEnd + strings['code-text'].length + 4
139
162
  );
140
163
  } else {
141
164
  var wrapDelta = controls.wrapSelectionInTextareaWith(textarea, '```\n', '\n```');
@@ -147,32 +170,32 @@ export function prepareFormattingTools() {
147
170
 
148
171
  formatting.addButtonDispatch('link', function (textarea, selectionStart, selectionEnd) {
149
172
  if (selectionStart === selectionEnd) {
150
- controls.insertIntoTextarea(textarea, '[' + strings.link_text + '](' + strings.link_url + ')');
173
+ controls.insertIntoTextarea(textarea, '[' + strings['link-text'] + '](' + strings['link-url'] + ')');
151
174
  controls.updateTextareaSelection(
152
175
  textarea,
153
- selectionStart + strings.link_text.length + 3,
154
- selectionEnd + strings.link_text.length + strings.link_url.length + 3
176
+ selectionStart + strings['link-text'].length + 3,
177
+ selectionEnd + strings['link-text'].length + strings['link-url'].length + 3
155
178
  );
156
179
  } else {
157
- var wrapDelta = controls.wrapSelectionInTextareaWith(textarea, '[', '](' + strings.link_url + ')');
180
+ var wrapDelta = controls.wrapSelectionInTextareaWith(textarea, '[', '](' + strings['link-url'] + ')');
158
181
  controls.updateTextareaSelection(
159
- textarea, selectionEnd + 3 - wrapDelta[1], selectionEnd + strings.link_url.length + 3 - wrapDelta[1]
182
+ textarea, selectionEnd + 3 - wrapDelta[1], selectionEnd + strings['link-url'].length + 3 - wrapDelta[1]
160
183
  );
161
184
  }
162
185
  });
163
186
 
164
187
  formatting.addButtonDispatch('picture-o', function (textarea, selectionStart, selectionEnd) {
165
188
  if (selectionStart === selectionEnd) {
166
- controls.insertIntoTextarea(textarea, '![' + strings.picture_text + '](' + strings.picture_url + ')');
189
+ controls.insertIntoTextarea(textarea, '![' + strings['picture-text'] + '](' + strings['picture-url'] + ')');
167
190
  controls.updateTextareaSelection(
168
191
  textarea,
169
- selectionStart + strings.picture_text.length + 4,
170
- selectionEnd + strings.picture_text.length + strings.picture_url.length + 4
192
+ selectionStart + strings['picture-text'].length + 4,
193
+ selectionEnd + strings['picture-text'].length + strings['picture-url'].length + 4
171
194
  );
172
195
  } else {
173
- var wrapDelta = controls.wrapSelectionInTextareaWith(textarea, '![', '](' + strings.picture_url + ')');
196
+ var wrapDelta = controls.wrapSelectionInTextareaWith(textarea, '![', '](' + strings['picture-url'] + ')');
174
197
  controls.updateTextareaSelection(
175
- textarea, selectionEnd + 4 - wrapDelta[1], selectionEnd + strings.picture_url.length + 4 - wrapDelta[1]
198
+ textarea, selectionEnd + 4 - wrapDelta[1], selectionEnd + strings['picture-url'].length + 4 - wrapDelta[1]
176
199
  );
177
200
  }
178
201
  });
@@ -1,11 +1,12 @@
1
- {
2
- "bold": "Fettschrift",
3
- "italic": "Kursivschrift",
4
- "list_item": "Listenpunkt",
5
- "strikethrough_text": "Durchgestrichen",
6
- "link_text": "Link Text",
7
- "link_url": "Link Adresse",
8
- "picture_text": "Bild Text",
9
- "picture_url": "Bild Link",
10
- "help_text": "Dieses Forum unterstützt Markdown. Für mehr Informationen, [hier klicken](http://commonmark.org/help/)"
11
- }
1
+ {
2
+ "bold": "Fettschrift",
3
+ "italic": "Kursivschrift",
4
+ "list-item": "Listenpunkt",
5
+ "strikethrough-text": "Durchgestrichen",
6
+ "code-text": "code_text",
7
+ "link-text": "Link Text",
8
+ "link-url": "Link Adresse",
9
+ "picture-text": "Bild Text",
10
+ "picture-url": "Bild Link",
11
+ "help-text": "Dieses Forum unterstützt Markdown. Für mehr Informationen, [hier klicken](http://commonmark.org/help/)"
12
+ }
@@ -1,12 +1,13 @@
1
- {
2
- "bold": "bolded text",
3
- "italic": "italicised text",
4
- "list_item": "list item",
5
- "strikethrough_text": "strikethrough text",
6
- "code_text": "code_text",
7
- "link_text": "link text",
8
- "link_url": "link url",
9
- "picture_text": "alt text",
10
- "picture_url": "image url",
11
- "help_text": "This forum is powered by Markdown. For full documentation, [click here](http://commonmark.org/help/)"
1
+ {
2
+ "bold": "bolded text",
3
+ "italic": "italicised text",
4
+ "list-item": "list item",
5
+ "heading": "heading",
6
+ "strikethrough-text": "strikethrough text",
7
+ "code-text": "code_text",
8
+ "link-text": "link text",
9
+ "link-url": "link url",
10
+ "picture-text": "alt text",
11
+ "picture-url": "image url",
12
+ "help-text": "This forum is powered by Markdown. For full documentation, [click here](http://commonmark.org/help/)"
12
13
  }
@@ -1,11 +1,11 @@
1
- {
2
- "bold": "متن پررنگ",
3
- "italic": "متن ایتالیک ( کج )",
4
- "list_item": "لیست",
5
- "strikethrough_text": "متن خط خورده",
6
- "link_text": "متن لینک",
7
- "link_url": "آدرس لینک",
8
- "picture_text": "متن جایگزین",
9
- "picture_url": "آدرس عکس",
10
- "help_text": "این انجمن از زبان مارک دون استفاده می کند، برای اطلاعات بیشتر [اینجا](http://commonmark.org/help/) کلیک کنید!"
11
- }
1
+ {
2
+ "bold": "متن پررنگ",
3
+ "italic": "متن ایتالیک ( کج )",
4
+ "list-item": "لیست",
5
+ "strikethrough-text": "متن خط خورده",
6
+ "link-text": "متن لینک",
7
+ "link-url": "آدرس لینک",
8
+ "picture-text": "متن جایگزین",
9
+ "picture-url": "آدرس عکس",
10
+ "help-text": "این انجمن از زبان مارک دون استفاده می کند، برای اطلاعات بیشتر [اینجا](http://commonmark.org/help/) کلیک کنید!"
11
+ }
@@ -1,11 +1,11 @@
1
- {
2
- "bold": "texte en gras",
3
- "italic": "texte en italique",
4
- "list_item": "élément de liste",
5
- "strikethrough_text": "strikethrough text",
6
- "link_text": "texte du lien",
7
- "link_url": "url du lien",
8
- "picture_text": "text alternatif",
9
- "picture_url": "url de l'image",
10
- "help_text": "Ce forum utilise la syntaxe Markdown. Pour accéder à la documentation, suivre ce [lien](http://commonmark.org/help/)"
11
- }
1
+ {
2
+ "bold": "texte en gras",
3
+ "italic": "texte en italique",
4
+ "list-item": "élément de liste",
5
+ "strikethrough-text": "strikethrough text",
6
+ "link-text": "texte du lien",
7
+ "link-url": "url du lien",
8
+ "picture-text": "text alternatif",
9
+ "picture-url": "url de l'image",
10
+ "help-text": "Ce forum utilise la syntaxe Markdown. Pour accéder à la documentation, suivre ce [lien](http://commonmark.org/help/)"
11
+ }
@@ -1,12 +1,12 @@
1
- {
2
- "bold": "טקסט מודגש",
3
- "italic": "טקסט נטוי",
4
- "list_item": "פריט רשימה",
5
- "strikethrough_text": "קו חוצה",
6
- "code_text": "קוד",
7
- "link_text": "טקסט קישור",
8
- "link_url": "כתובת קישור",
9
- "picture_text": "כיתוב בבעיות טעינה",
10
- "picture_url": "כתובת תמונה",
11
- "help_text": "הפורום עובד עם Markdown. להסבר מלא, [לחץ כאן](http://commonmark.org/help/)"
12
- }
1
+ {
2
+ "bold": "טקסט מודגש",
3
+ "italic": "טקסט נטוי",
4
+ "list-item": "פריט רשימה",
5
+ "strikethrough-text": "קו חוצה",
6
+ "code-text": "קוד",
7
+ "link-text": "טקסט קישור",
8
+ "link-url": "כתובת קישור",
9
+ "picture-text": "כיתוב בבעיות טעינה",
10
+ "picture-url": "כתובת תמונה",
11
+ "help-text": "הפורום עובד עם Markdown. להסבר מלא, [לחץ כאן](http://commonmark.org/help/)"
12
+ }
@@ -1,11 +1,11 @@
1
- {
2
- "bold": "pogrubienie",
3
- "italic": "pochylenie",
4
- "list_item": "wypunktowanie",
5
- "strikethrough_text": "przekreślenie",
6
- "link_text": "tekst odnośnika",
7
- "link_url": "url odnośnika",
8
- "picture_text": "text alternatywny",
9
- "picture_url": "url obrazu",
10
- "help_text": "Forum działa dzięki Markdown. By uzyskać pełną dokumentację, [kliknij tutaj](http://commonmark.org/help/)"
11
- }
1
+ {
2
+ "bold": "pogrubienie",
3
+ "italic": "pochylenie",
4
+ "list-item": "wypunktowanie",
5
+ "strikethrough-text": "przekreślenie",
6
+ "link-text": "tekst odnośnika",
7
+ "link-url": "url odnośnika",
8
+ "picture-text": "text alternatywny",
9
+ "picture-url": "url obrazu",
10
+ "help-text": "Forum działa dzięki Markdown. By uzyskać pełną dokumentację, [kliknij tutaj](http://commonmark.org/help/)"
11
+ }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "bold": "Жирный текст",
3
3
  "italic": "Прописной шрифт",
4
- "list_item": "Пункт списка",
5
- "strikethrough_text": "Зачеркнутый текст",
6
- "link_text": "Текст ссылки",
7
- "link_url": "Адрес ссылки",
8
- "picture_text": "Описание",
9
- "picture_url": "URL-адрес изображения",
10
- "help_text": "Этот форум работает на основе Markdown. Для получения полной документации [перейдите на сайт](http://commonmark.org/help/)"
4
+ "list-item": "Пункт списка",
5
+ "strikethrough-text": "Зачеркнутый текст",
6
+ "link-text": "Текст ссылки",
7
+ "link-url": "Адрес ссылки",
8
+ "picture-text": "Описание",
9
+ "picture-url": "URL-адрес изображения",
10
+ "help-text": "Этот форум работает на основе Markdown. Для получения полной документации [перейдите на сайт](http://commonmark.org/help/)"
11
11
  }
@@ -1,11 +1,11 @@
1
- {
2
- "bold": "kalın yazı",
3
- "italic": "İtalik yazı",
4
- "list_item": "liste madde",
5
- "strikethrough_text": "Üstü çizili metin",
6
- "link_text": "bağlantı metni",
7
- "link_url": "link url",
8
- "picture_text": "alt metni",
9
- "picture_url": "görsel url",
10
- "help_text": "This forum is powered by Markdown. For full documentation, [click here](http://commonmark.org/help/)"
11
- }
1
+ {
2
+ "bold": "kalın yazı",
3
+ "italic": "İtalik yazı",
4
+ "list-item": "liste madde",
5
+ "strikethrough-text": "Üstü çizili metin",
6
+ "link-text": "bağlantı metni",
7
+ "link-url": "link url",
8
+ "picture-text": "alt metni",
9
+ "picture-url": "görsel url",
10
+ "help-text": "This forum is powered by Markdown. For full documentation, [click here](http://commonmark.org/help/)"
11
+ }
@@ -1,11 +1,11 @@
1
- {
2
- "bold": "粗体字",
3
- "italic": "斜体字",
4
- "list_item": "列表",
5
- "strikethrough_text": "删除线",
6
- "link_text": "链接文本",
7
- "link_url": "链接地址",
8
- "picture_text": "替代文字",
9
- "picture_url": "图片地址",
10
- "help_text": "该论坛使用 Markdown 语法。[点此查看](http://commonmark.org/help/) 语法说明。"
11
- }
1
+ {
2
+ "bold": "粗体字",
3
+ "italic": "斜体字",
4
+ "list-item": "列表",
5
+ "strikethrough-text": "删除线",
6
+ "link-text": "链接文本",
7
+ "link-url": "链接地址",
8
+ "picture-text": "替代文字",
9
+ "picture-url": "图片地址",
10
+ "help-text": "该论坛使用 Markdown 语法。[点此查看](http://commonmark.org/help/) 语法说明。"
11
+ }