-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
142 lines (142 loc) · 6.06 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "pandocplay",
"displayName": "pandocplay",
"description": "Run pandoc selected text and code block",
"version": "0.0.4",
"publisher": "niszet",
"engines": {
"vscode": "^1.44.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:pandocplay.execute-cursor",
"onCommand:pandocplay.execute-in-codeblock"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "pandocplay.execute-cursor",
"title": "Run Pandoc Selection Range"
},
{
"command": "pandocplay.execute-in-codeblock",
"title": "Run Pandoc Code Block"
}
],
"menus": {
"editor/context": [
{
"when": "editorHasSelection",
"command": "pandocplay.execute-cursor"
},
{
"when": "editorTextFocus",
"command": "pandocplay.execute-in-codeblock"
}
]
},
"configuration": {
"title": "pandocplay configuration",
"properties": {
"Pandocplay.Pandoc.workdir": {
"type": "string",
"default": "",
"description": "Workdir to run Pandoc. Default is current dir."
},
"Pandocplay.Pandoc.extension": {
"type": "string",
"default": "+autolink_bare_uris+tex_math_single_backslash+smart",
"description": "Specify markdown extension starts with **+**. Followings are available in Pandoc 2.9.2. abbreviations, all_symbols_escapable, amuse, angle_brackets_escapable, ascii_identifiers, auto_identifiers, autolink_bare_uris, backtick_code_blocks, blank_before_blockquote, blank_before_header, bracketed_spans, citations, compact_definition_lists, definition_lists, east_asian_line_breaks, emoji, empty_paragraphs, epub_html_exts, escaped_line_breaks, example_lists, fancy_lists, fenced_code_attributes, fenced_code_blocks, fenced_divs, footnotes, four_space_rule, gfm_auto_identifiers, grid_tables, hard_line_breaks, header_attributes, ignore_line_breaks, implicit_figures, implicit_header_references, inline_code_attributes, inline_notes, intraword_underscores, latex_macros, line_blocks, link_attributes, lists_without_preceding_blankline, literate_haskell, markdown_attribute, markdown_in_html_blocks, mmd_header_identifiers, mmd_link_attributes, mmd_title_block, multiline_tables, native_divs, native_spans, native_numbering, ntb, old_dashes, pandoc_title_block, pipe_tables, raw_attribute, raw_html, raw_tex, shortcut_reference_links, simple_tables, smart, space_in_atx_header, spaced_reference_links, startnum, strikeout, subscript, superscript, styles, task_lists, table_captions, tex_math_dollars, tex_math_double_backslash, tex_math_single_backslash, yaml_metadata_block, gutenberg."
},
"Pandocplay.Pandoc.args": {
"type": "string",
"default": "",
"description": "Arguments for Pandoc. See official document."
},
"Pandocplay.Pandoc.path": {
"type": "string",
"default": "",
"description": "Fill in if you want to set path to Pandoc."
},
"Pandocplay.input.from": {
"type": "string",
"default": "markdown",
"description": "Input file format. Followings are available in Pandoc 2.9.2. commonmark, creole, csv, docbook, docx, dokuwiki, epub, fb2, gfm, haddock, html, ipynb, jats, jira, json, latex, man, markdown, markdown_github, markdown_mmd, markdown_phpextra, markdown_strict, mediawiki, muse, native, odt, opml, org, rst, t2t, textile, tikiwiki, twiki, vimwiki."
},
"Pandocplay.input.autoFindFormat": {
"type": "boolean",
"default": false,
"markdownDescription": "When you use codeBlock input output file format will be detected automatically by its **FORMAT** attributes."
},
"Pandocplay.output.to": {
"type": "string",
"default": "html",
"markdownDescription": "Output file format. Followings are available in Pandoc 2.9.2. asciidoc, asciidoctor, beamer, commonmark, context, docbook, docbook4, docbook5, docx, dokuwiki, dzslides, epub, epub2, epub3, fb2, gfm, haddock, html, html4, html5, icml, ipynb, jats, jats_archiving, jats_articleauthoring, jats_publishing, jira, json, latex, man, markdown, markdown_github, markdown_mmd, markdown_phpextra, markdown_strict, mediawiki, ms, muse, native, odt, opendocument, opml, org, pdf, plain, pptx, revealjs, rst, rtf, s5, slideous, slidy, tei, texinfo, textile, xwiki, zimwiki"
},
"Pandocplay.output.pane": {
"type": "boolean",
"default": true,
"description": "Pandoc's output will be shown in OUTPUT pane."
},
"Pandocplay.output.text.Add": {
"type": "boolean",
"default": false,
"description": "Pandoc's output will be added after cursor."
},
"Pandocplay.output.text.addFormat": {
"type": "boolean",
"default": false,
"markdownDescription": "Add specified format name to output code block"
},
"Pandocplay.output.file.enable": {
"type": "boolean",
"default": false,
"description": "TODO: Specify output file as -o option. If you set true, you should set filename or extension"
},
"Pandocplay.output.file.name": {
"type": "string",
"default": "",
"description": "TODO: If you want to output to the file, please specify its file name."
},
"Pandocplay.output.file.autoAddExtension": {
"type": "boolean",
"default": true,
"description": "TODO: Only for CodeBlock. Output file name will be set from original file name with output file format"
},
"Pandocplay.debug.message": {
"type": "boolean",
"default": false,
"description": "TODO: Debug purpose message enable"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^13.13.4",
"@types/vscode": "^1.44.0",
"@typescript-eslint/eslint-plugin": "^2.30.0",
"@typescript-eslint/parser": "^2.30.0",
"eslint": "^6.8.0",
"glob": "^7.1.6",
"mocha": "^7.1.2",
"typescript": "^3.8.3",
"vscode-test": "^1.3.0"
},
"repository": {
"type": "git",
"url": "https://github.com/niszet/pandocplay.git"
}
}