-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
201 lines (201 loc) · 5 KB
/
package.json
File metadata and controls
201 lines (201 loc) · 5 KB
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
{
"$schema": "https://www.raycast.com/schemas/extension.json",
"name": "paste-to-markdown",
"title": "Paste to Markdown",
"description": "A Raycast Extension that instantly pastes rich text or HTML content into Markdown.",
"icon": "extension-icon.png",
"author": "weicodes",
"license": "MIT",
"commands": [
{
"name": "paste-to-markdown",
"title": "Paste to Markdown",
"description": "Paste rich text or HTML content into Markdown.",
"mode": "no-view",
"alias": "pmd"
}
],
"preferences": [
{
"name": "headingStyle",
"title": "Heading Style",
"description": "Choose the style for headings in the converted Markdown",
"type": "dropdown",
"required": false,
"default": "atx",
"data": [
{
"title": "ATX (## Heading)",
"value": "atx"
},
{
"title": "Setext (Heading\\n---)",
"value": "setext"
}
]
},
{
"name": "hr",
"title": "Horizontal Rule",
"description": "Choose the style for horizontal rules (thematic breaks)",
"type": "textfield",
"required": false,
"default": "---"
},
{
"name": "bulletListMarker",
"title": "Bullet List Marker",
"description": "Choose the marker for bullet lists",
"type": "dropdown",
"required": false,
"default": "-",
"data": [
{
"title": "Asterisk (*)",
"value": "*"
},
{
"title": "Hyphen (-)",
"value": "-"
},
{
"title": "Plus (+)",
"value": "+"
}
]
},
{
"name": "codeBlockStyle",
"title": "Code Block Style",
"description": "Choose the style for code blocks",
"type": "dropdown",
"required": false,
"default": "fenced",
"data": [
{
"title": "Fenced (```)",
"value": "fenced"
},
{
"title": "Indented (4 spaces)",
"value": "indented"
}
]
},
{
"name": "fence",
"title": "Code Fence Style",
"description": "Choose the fence style for fenced code blocks",
"type": "dropdown",
"required": false,
"default": "```",
"data": [
{
"title": "Backticks (```)",
"value": "```"
},
{
"title": "Tildes (~~~)",
"value": "~~~"
}
]
},
{
"name": "emDelimiter",
"title": "Emphasis Delimiter",
"description": "Choose the delimiter for emphasis (italic text)",
"type": "dropdown",
"required": false,
"default": "_",
"data": [
{
"title": "Underscore (_)",
"value": "_"
},
{
"title": "Asterisk (*)",
"value": "*"
}
]
},
{
"name": "strongDelimiter",
"title": "Strong Delimiter",
"description": "Choose the delimiter for strong (bold text)",
"type": "dropdown",
"required": false,
"default": "**",
"data": [
{
"title": "Double Asterisk (**)",
"value": "**"
},
{
"title": "Double Underscore (__)",
"value": "__"
}
]
},
{
"name": "linkStyle",
"title": "Link Style",
"description": "Choose the style for links",
"type": "dropdown",
"required": false,
"default": "inlined",
"data": [
{
"title": "Inline ([text](url))",
"value": "inlined"
},
{
"title": "Referenced ([text][ref])",
"value": "referenced"
}
]
},
{
"name": "linkReferenceStyle",
"title": "Link Reference Style",
"description": "Choose the style for referenced links",
"type": "dropdown",
"required": false,
"default": "full",
"data": [
{
"title": "Full ([text][ref])",
"value": "full"
},
{
"title": "Collapsed ([text][])",
"value": "collapsed"
},
{
"title": "Shortcut ([text])",
"value": "shortcut"
}
]
}
],
"dependencies": {
"@joplin/turndown-plugin-gfm": "^1.0.64",
"@raycast/api": "^1.104.1",
"turndown": "^7.2.2"
},
"devDependencies": {
"@raycast/eslint-config": "^2.1.1",
"@types/node": "^25.0.3",
"@types/turndown": "^5.0.6",
"eslint": "^9.39.2",
"prettier": "^3.7.4",
"typescript": "^5.9.3"
},
"scripts": {
"build": "ray build",
"dev": "ray develop",
"fix-lint": "ray lint --fix",
"lint": "ray lint",
"prepublishOnly": "echo \"\\n\\nIt seems like you are trying to publish the Raycast extension to npm.\\n\\nIf you did intend to publish it to npm, remove the \\`prepublishOnly\\` script and rerun \\`npm publish\\` again.\\nIf you wanted to publish it to the Raycast Store instead, use \\`npm run publish\\` instead.\\n\\n\" && exit 1",
"publish": "npx @raycast/api@latest publish"
}
}