@mdsvex/language-core 0.1.0-next.2 → 0.1.0-next.3

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -100,7 +100,8 @@ function document_options(manifest, doc) {
100
100
  };
101
101
  if (Object.keys(templates).length !== 0) compile.templates = templates;
102
102
  if (manifest.unwrap_images === true) compile.unwrap_images = true;
103
- if (manifest.import_images === true) compile.import_images = true;
103
+ if (manifest.import_images === true)
104
+ compile.import_images = manifest.enhanced_images === true ? { enhanced: true } : true;
104
105
  if (manifest.heading_ids === true) compile.heading_ids = true;
105
106
  const smart = smart_from_json(manifest.smart_punctuation);
106
107
  if (smart !== void 0) compile.smart_punctuation = smart;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mdsvex/language-core",
3
- "version": "0.1.0-next.2",
3
+ "version": "0.1.0-next.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/pngwn/MDsveX.git",
@@ -23,9 +23,9 @@
23
23
  "@volar/typescript": "^2.4.28",
24
24
  "svelte2tsx": "^0.7.53",
25
25
  "temml": "^0.14.0",
26
- "@mdsvex/render": "1.0.0-next.2",
27
- "@mdsvex/source-map": "0.1.0-next.2",
28
- "mdsvex": "1.0.0-next.2"
26
+ "@mdsvex/render": "1.0.0-next.3",
27
+ "@mdsvex/source-map": "0.1.0-next.3",
28
+ "mdsvex": "1.0.0-next.3"
29
29
  },
30
30
  "devDependencies": {
31
31
  "svelte": "^5.0.0",