@theia/preview 1.65.0-next.1 → 1.65.0-next.16

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 data-line="0" class="line" id="theia---preview-extension">Theia - Preview Extension</h1>
114
- <p data-line="1" class="line">Shows a preview of supported resources.
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 data-line="4" class="line" id="license">License</h2>
117
- <p data-line="5" class="line"><a href="https://github.com/eclipse-theia/theia/blob/master/LICENSE">Apache-2.0</a></p>
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
  ![alternativetext](subfolder/image.png)
122
122
  `;
123
123
  const exampleHtml2 = //
124
- `<h1 data-line="0" class="line" id="heading">Heading</h1>
125
- <p data-line="1" class="line"><img alt="alternativetext" src="endpoint/workspace/subfolder/image.png"></p>
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 data-line="0" class="line" id="block-html-image">Block HTML Image</h1>
136
- <img alt="tada" src="endpoint/workspace/subfolder/image1.png">
137
- <h1 data-line="3" class="line" id="block-html-image-2">Block HTML Image</h1>
138
- <img alt="tada" src="endpoint/workspace/subfolder/image3.png">
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 data-line="0" class="line" id="inlined-html-image">Inlined HTML Image</h1>
146
- <p data-line="1" class="line">text in paragraph <img alt="tada" src="endpoint/workspace/subfolder/image2.png"></p>
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 data-line="0" class="line" id="multiple-html-images-nested-in-blocks">Multiple HTML Images nested in blocks</h1>
160
- <p data-line="1" class="line">word </p><p>
161
- <img alt="tada" src="endpoint/workspace/subfolder/image2.png"></p>
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 alt="tada" src="endpoint/workspace/subfolder/image2.png">
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.1+7140fc0e1",
3
+ "version": "1.65.0-next.16+dad8faee0",
4
4
  "description": "Theia - Preview Extension",
5
5
  "dependencies": {
6
- "@theia/core": "1.65.0-next.1+7140fc0e1",
7
- "@theia/editor": "1.65.0-next.1+7140fc0e1",
8
- "@theia/mini-browser": "1.65.0-next.1+7140fc0e1",
9
- "@theia/monaco": "1.65.0-next.1+7140fc0e1",
6
+ "@theia/core": "1.65.0-next.16+dad8faee0",
7
+ "@theia/editor": "1.65.0-next.16+dad8faee0",
8
+ "@theia/mini-browser": "1.65.0-next.16+dad8faee0",
9
+ "@theia/monaco": "1.65.0-next.16+dad8faee0",
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": "7140fc0e18beb4a21a84bd28e1b2759f92d6156a"
54
+ "gitHead": "dad8faee01b97bbd4927feb3601ef0d6c48a3c46"
55
55
  }
@@ -135,11 +135,11 @@ See [here](https://github.com/eclipse-theia/theia).
135
135
  `;
136
136
 
137
137
  const exampleHtml1 = //
138
- `<h1 data-line="0" class="line" id="theia---preview-extension">Theia - Preview Extension</h1>
139
- <p data-line="1" class="line">Shows a preview of supported resources.
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 data-line="4" class="line" id="license">License</h2>
142
- <p data-line="5" class="line"><a href="https://github.com/eclipse-theia/theia/blob/master/LICENSE">Apache-2.0</a></p>
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 data-line="0" class="line" id="heading">Heading</h1>
152
- <p data-line="1" class="line"><img alt="alternativetext" src="endpoint/workspace/subfolder/image.png"></p>
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 data-line="0" class="line" id="block-html-image">Block HTML Image</h1>
165
- <img alt="tada" src="endpoint/workspace/subfolder/image1.png">
166
- <h1 data-line="3" class="line" id="block-html-image-2">Block HTML Image</h1>
167
- <img alt="tada" src="endpoint/workspace/subfolder/image3.png">
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 data-line="0" class="line" id="inlined-html-image">Inlined HTML Image</h1>
177
- <p data-line="1" class="line">text in paragraph <img alt="tada" src="endpoint/workspace/subfolder/image2.png"></p>
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 data-line="0" class="line" id="multiple-html-images-nested-in-blocks">Multiple HTML Images nested in blocks</h1>
193
- <p data-line="1" class="line">word </p><p>
194
- <img alt="tada" src="endpoint/workspace/subfolder/image2.png"></p>
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 alt="tada" src="endpoint/workspace/subfolder/image2.png">
197
+ <img src="endpoint/workspace/subfolder/image2.png" alt="tada">
198
198
  </p>
199
199
  `;
200
200