You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: markdown-it/markdown-it.qml
+47-47Lines changed: 47 additions & 47 deletions
Original file line number
Diff line number
Diff line change
@@ -8,31 +8,36 @@ QtObject {
8
8
property string customStylesheet
9
9
property variant md
10
10
property string options
11
-
property variant settingsVariables: [{
12
-
"identifier":"options",
13
-
"name":"Markdown-it options",
14
-
"description":"For available options and default values see <a href='https://github.com/markdown-it/markdown-it/blob/master/lib/presets'>markdown-it presets</a>.",
15
-
"type":"text",
16
-
"default": "{" + "\n" + " //html: false, // Enable HTML tags in source" + "\n" + " //xhtmlOut: false, // Use '/' to close single tags (<br />)" + "\n" + " //breaks: false, // Convert '\\n' in paragraphs into <br>" + "\n" + " //langPrefix: 'language-', // CSS language prefix for fenced blocks" + "\n" + " //linkify: false, // autoconvert URL-like texts to links" + "\n" + "" + "\n" + " // Enable some language-neutral replacements + quotes beautification" + "\n" + " //typographer: false," + "\n" + "" + "\n" + " // Double + single quotes replacement pairs, when typographer enabled," + "\n" + " // and smartquotes on. Could be either a String or an Array." + "\n" + " //" + "\n" + " // For example, you can use '«»„“' for Russian, '„“‚‘' for German," + "\n" + " // and ['«\\xA0', '\\xA0»', '‹\\xA0', '\\xA0›'] for French (including nbsp)." + "\n" + " //quotes: '\\u201c\\u201d\\u2018\\u2019', /* “”‘’ */" + "\n" + "" + "\n" + " // Highlighter function. Should return escaped HTML," + "\n" + " // or '' if the source string is not changed and should be escaped externaly." + "\n" + " // If result starts with <pre... internal wrapper is skipped." + "\n" + " //" + "\n" + " // function (/*str, lang*/) { return ''; }" + "\n" + " //" + "\n" + " //highlight: null," + "\n" + "" + "\n" + " //maxNesting: 100 // Internal protection, recursion limit" + "\n" + "}"
17
-
}, {
18
-
"identifier":"useDeflistPlugin",
19
-
"name":"Definition lists",
20
-
"text":"Enable the Markdown-it definition list (<dl>) plugin",
21
-
"type":"boolean",
22
-
"default":false
23
-
}, {
24
-
"identifier":"useKatexPlugin",
25
-
"name":"LaTeX Support",
26
-
"text":"Enable the Markdown-it definition list KaTeX plugin",
27
-
"type":"boolean",
28
-
"default":false
29
-
}, {
30
-
"identifier":"customStylesheet",
31
-
"name":"Custom stylesheet",
32
-
"description":"Please enter your custom stylesheet:",
33
-
"type":"text",
34
-
"default":null
35
-
}]
11
+
property variant settingsVariables: [
12
+
{
13
+
"identifier":"options",
14
+
"name":"Markdown-it options",
15
+
"description":"For available options and default values see <a href='https://github.com/markdown-it/markdown-it/blob/master/lib/presets'>markdown-it presets</a>.",
16
+
"type":"text",
17
+
"default": "{" + "\n" + " //html: false, // Enable HTML tags in source" + "\n" + " //xhtmlOut: false, // Use '/' to close single tags (<br />)" + "\n" + " //breaks: false, // Convert '\\n' in paragraphs into <br>" + "\n" + " //langPrefix: 'language-', // CSS language prefix for fenced blocks" + "\n" + " //linkify: false, // autoconvert URL-like texts to links" + "\n" + "" + "\n" + " // Enable some language-neutral replacements + quotes beautification" + "\n" + " //typographer: false," + "\n" + "" + "\n" + " // Double + single quotes replacement pairs, when typographer enabled," + "\n" + " // and smartquotes on. Could be either a String or an Array." + "\n" + " //" + "\n" + " // For example, you can use '«»„“' for Russian, '„“‚‘' for German," + "\n" + " // and ['«\\xA0', '\\xA0»', '‹\\xA0', '\\xA0›'] for French (including nbsp)." + "\n" + " //quotes: '\\u201c\\u201d\\u2018\\u2019', /* “”‘’ */" + "\n" + "" + "\n" + " // Highlighter function. Should return escaped HTML," + "\n" + " // or '' if the source string is not changed and should be escaped externaly." + "\n" + " // If result starts with <pre... internal wrapper is skipped." + "\n" + " //" + "\n" + " // function (/*str, lang*/) { return ''; }" + "\n" + " //" + "\n" + " //highlight: null," + "\n" + "" + "\n" + " //maxNesting: 100 // Internal protection, recursion limit" + "\n" + "}"
18
+
},
19
+
{
20
+
"identifier":"useDeflistPlugin",
21
+
"name":"Definition lists",
22
+
"text":"Enable the Markdown-it definition list (<dl>) plugin",
23
+
"type":"boolean",
24
+
"default":false
25
+
},
26
+
{
27
+
"identifier":"useKatexPlugin",
28
+
"name":"LaTeX Support",
29
+
"text":"Enable the Markdown-it definition list KaTeX plugin",
30
+
"type":"boolean",
31
+
"default":false
32
+
},
33
+
{
34
+
"identifier":"customStylesheet",
35
+
"name":"Custom stylesheet",
36
+
"description":"Please enter your custom stylesheet:",
0 commit comments