@theia/preview 1.65.0-next.1 → 1.65.0-next.19
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.
|
@@ -110,19 +110,19 @@ See [here](https://github.com/eclipse-theia/theia).
|
|
|
110
110
|
[Apache-2.0](https://github.com/eclipse-theia/theia/blob/master/LICENSE)
|
|
111
111
|
`;
|
|
112
112
|
const exampleHtml1 = //
|
|
113
|
-
`<h1
|
|
114
|
-
<p data-line="1"
|
|
113
|
+
`<h1 id="theia---preview-extension" class="line" data-line="0">Theia - Preview Extension</h1>
|
|
114
|
+
<p class="line" data-line="1">Shows a preview of supported resources.
|
|
115
115
|
See <a href="https://github.com/eclipse-theia/theia">here</a>.</p>
|
|
116
|
-
<h2
|
|
117
|
-
<p data-line="5"
|
|
116
|
+
<h2 id="license" class="line" data-line="4">License</h2>
|
|
117
|
+
<p class="line" data-line="5"><a href="https://github.com/eclipse-theia/theia/blob/master/LICENSE">Apache-2.0</a></p>
|
|
118
118
|
`;
|
|
119
119
|
const exampleMarkdown2 = //
|
|
120
120
|
`# Heading
|
|
121
121
|

|
|
122
122
|
`;
|
|
123
123
|
const exampleHtml2 = //
|
|
124
|
-
`<h1
|
|
125
|
-
<p data-line="1"
|
|
124
|
+
`<h1 id="heading" class="line" data-line="0">Heading</h1>
|
|
125
|
+
<p class="line" data-line="1"><img src="endpoint/workspace/subfolder/image.png" alt="alternativetext"></p>
|
|
126
126
|
`;
|
|
127
127
|
const exampleMarkdown3 = //
|
|
128
128
|
`# Block HTML Image
|
|
@@ -132,18 +132,18 @@ const exampleMarkdown3 = //
|
|
|
132
132
|
<img src="subfolder/image3.png" alt="tada"/>
|
|
133
133
|
`;
|
|
134
134
|
const exampleHtml3 = //
|
|
135
|
-
`<h1
|
|
136
|
-
<img
|
|
137
|
-
<h1
|
|
138
|
-
<img
|
|
135
|
+
`<h1 id="block-html-image" class="line" data-line="0">Block HTML Image</h1>
|
|
136
|
+
<img src="endpoint/workspace/subfolder/image1.png" alt="tada">
|
|
137
|
+
<h1 id="block-html-image-2" class="line" data-line="3">Block HTML Image</h1>
|
|
138
|
+
<img src="endpoint/workspace/subfolder/image3.png" alt="tada">
|
|
139
139
|
`;
|
|
140
140
|
const exampleMarkdown4 = //
|
|
141
141
|
`# Inlined HTML Image
|
|
142
142
|
text in paragraph <img src="subfolder/image2.png" alt="tada"/>
|
|
143
143
|
`;
|
|
144
144
|
const exampleHtml4 = //
|
|
145
|
-
`<h1
|
|
146
|
-
<p data-line="1"
|
|
145
|
+
`<h1 id="inlined-html-image" class="line" data-line="0">Inlined HTML Image</h1>
|
|
146
|
+
<p class="line" data-line="1">text in paragraph <img src="endpoint/workspace/subfolder/image2.png" alt="tada"></p>
|
|
147
147
|
`;
|
|
148
148
|
const exampleMarkdown5 = //
|
|
149
149
|
`# Multiple HTML Images nested in blocks
|
|
@@ -156,12 +156,12 @@ word <p>
|
|
|
156
156
|
</p>
|
|
157
157
|
`;
|
|
158
158
|
const exampleHtml5 = //
|
|
159
|
-
`<h1
|
|
160
|
-
<p data-line="1"
|
|
161
|
-
<img
|
|
159
|
+
`<h1 id="multiple-html-images-nested-in-blocks" class="line" data-line="0">Multiple HTML Images nested in blocks</h1>
|
|
160
|
+
<p class="line" data-line="1">word </p><p>
|
|
161
|
+
<img src="endpoint/workspace/subfolder/image2.png" alt="tada"></p>
|
|
162
162
|
<p></p>
|
|
163
163
|
<p>
|
|
164
|
-
<img
|
|
164
|
+
<img src="endpoint/workspace/subfolder/image2.png" alt="tada">
|
|
165
165
|
</p>
|
|
166
166
|
`;
|
|
167
167
|
/**
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/preview",
|
|
3
|
-
"version": "1.65.0-next.
|
|
3
|
+
"version": "1.65.0-next.19+b89f0f8d7",
|
|
4
4
|
"description": "Theia - Preview Extension",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@theia/core": "1.65.0-next.
|
|
7
|
-
"@theia/editor": "1.65.0-next.
|
|
8
|
-
"@theia/mini-browser": "1.65.0-next.
|
|
9
|
-
"@theia/monaco": "1.65.0-next.
|
|
6
|
+
"@theia/core": "1.65.0-next.19+b89f0f8d7",
|
|
7
|
+
"@theia/editor": "1.65.0-next.19+b89f0f8d7",
|
|
8
|
+
"@theia/mini-browser": "1.65.0-next.19+b89f0f8d7",
|
|
9
|
+
"@theia/monaco": "1.65.0-next.19+b89f0f8d7",
|
|
10
10
|
"@types/highlight.js": "^10.1.0",
|
|
11
11
|
"highlight.js": "10.4.1",
|
|
12
12
|
"markdown-it-anchor": "~5.0.0",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"nyc": {
|
|
52
52
|
"extends": "../../configs/nyc.json"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "b89f0f8d7b76879e9f0e26186967154be931b149"
|
|
55
55
|
}
|
|
@@ -135,11 +135,11 @@ See [here](https://github.com/eclipse-theia/theia).
|
|
|
135
135
|
`;
|
|
136
136
|
|
|
137
137
|
const exampleHtml1 = //
|
|
138
|
-
`<h1
|
|
139
|
-
<p data-line="1"
|
|
138
|
+
`<h1 id="theia---preview-extension" class="line" data-line="0">Theia - Preview Extension</h1>
|
|
139
|
+
<p class="line" data-line="1">Shows a preview of supported resources.
|
|
140
140
|
See <a href="https://github.com/eclipse-theia/theia">here</a>.</p>
|
|
141
|
-
<h2
|
|
142
|
-
<p data-line="5"
|
|
141
|
+
<h2 id="license" class="line" data-line="4">License</h2>
|
|
142
|
+
<p class="line" data-line="5"><a href="https://github.com/eclipse-theia/theia/blob/master/LICENSE">Apache-2.0</a></p>
|
|
143
143
|
`;
|
|
144
144
|
|
|
145
145
|
const exampleMarkdown2 = //
|
|
@@ -148,8 +148,8 @@ const exampleMarkdown2 = //
|
|
|
148
148
|
`;
|
|
149
149
|
|
|
150
150
|
const exampleHtml2 = //
|
|
151
|
-
`<h1
|
|
152
|
-
<p data-line="1"
|
|
151
|
+
`<h1 id="heading" class="line" data-line="0">Heading</h1>
|
|
152
|
+
<p class="line" data-line="1"><img src="endpoint/workspace/subfolder/image.png" alt="alternativetext"></p>
|
|
153
153
|
`;
|
|
154
154
|
|
|
155
155
|
const exampleMarkdown3 = //
|
|
@@ -161,10 +161,10 @@ const exampleMarkdown3 = //
|
|
|
161
161
|
`;
|
|
162
162
|
|
|
163
163
|
const exampleHtml3 = //
|
|
164
|
-
`<h1
|
|
165
|
-
<img
|
|
166
|
-
<h1
|
|
167
|
-
<img
|
|
164
|
+
`<h1 id="block-html-image" class="line" data-line="0">Block HTML Image</h1>
|
|
165
|
+
<img src="endpoint/workspace/subfolder/image1.png" alt="tada">
|
|
166
|
+
<h1 id="block-html-image-2" class="line" data-line="3">Block HTML Image</h1>
|
|
167
|
+
<img src="endpoint/workspace/subfolder/image3.png" alt="tada">
|
|
168
168
|
`;
|
|
169
169
|
|
|
170
170
|
const exampleMarkdown4 = //
|
|
@@ -173,8 +173,8 @@ text in paragraph <img src="subfolder/image2.png" alt="tada"/>
|
|
|
173
173
|
`;
|
|
174
174
|
|
|
175
175
|
const exampleHtml4 = //
|
|
176
|
-
`<h1
|
|
177
|
-
<p data-line="1"
|
|
176
|
+
`<h1 id="inlined-html-image" class="line" data-line="0">Inlined HTML Image</h1>
|
|
177
|
+
<p class="line" data-line="1">text in paragraph <img src="endpoint/workspace/subfolder/image2.png" alt="tada"></p>
|
|
178
178
|
`;
|
|
179
179
|
|
|
180
180
|
const exampleMarkdown5 = //
|
|
@@ -189,12 +189,12 @@ word <p>
|
|
|
189
189
|
`;
|
|
190
190
|
|
|
191
191
|
const exampleHtml5 = //
|
|
192
|
-
`<h1
|
|
193
|
-
<p data-line="1"
|
|
194
|
-
<img
|
|
192
|
+
`<h1 id="multiple-html-images-nested-in-blocks" class="line" data-line="0">Multiple HTML Images nested in blocks</h1>
|
|
193
|
+
<p class="line" data-line="1">word </p><p>
|
|
194
|
+
<img src="endpoint/workspace/subfolder/image2.png" alt="tada"></p>
|
|
195
195
|
<p></p>
|
|
196
196
|
<p>
|
|
197
|
-
<img
|
|
197
|
+
<img src="endpoint/workspace/subfolder/image2.png" alt="tada">
|
|
198
198
|
</p>
|
|
199
199
|
`;
|
|
200
200
|
|