@nakobase/nakobase-md-html 1.2.0 → 1.2.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAmB1C,eAAO,MAAM,QAAQ,GACnB,UAAU,MAAM,EAChB,UAAU,eAAe,KACxB,MA8BF,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAkB1C,eAAO,MAAM,QAAQ,GACnB,UAAU,MAAM,EAChB,UAAU,eAAe,KACxB,MA6BF,CAAC"}
package/dist/esm/index.js CHANGED
@@ -7,7 +7,6 @@ import { mdCustomBlocks } from './utils/md-custom-blocks';
7
7
  import { CONTAINER_TYPES } from './constants';
8
8
 
9
9
  // plugins
10
- const MdItImSize = require('@steelydylan/markdown-it-imsize').default;
11
10
  const MdItInlineComments = require('markdown-it-inline-comments');
12
11
  const MdItContainer = require('markdown-it-container');
13
12
  const MdItTaskLists = require('markdown-it-task-lists');
@@ -26,7 +25,7 @@ export const mdToHtml = (markdown, options) => {
26
25
  md.linkify.set({
27
26
  fuzzyEmail: false
28
27
  });
29
- md.use(MdItInlineComments).use(MdItImSize).use(MdItTaskLists, {
28
+ md.use(MdItInlineComments).use(MdItTaskLists, {
30
29
  enabled: true
31
30
  }).use(MdItContainer, CONTAINER_TYPES.DETAILS, detailsOptions).use(MdItContainer, CONTAINER_TYPES.BOX, boxOptions).use(MdItContainer, CONTAINER_TYPES.BUBBLE, bubbleOptions).use(MdItContainer, CONTAINER_TYPES.BUBBLE_IMAGE, bubbleImageOptions).use(mdCustomBlocks);
32
31
  if (codeHighlight) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nakobase/nakobase-md-html",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Convert Markdown to **sanitized HTML** and apply consistent styles – simple, secure, and styled.",
5
5
  "type": "module",
6
6
  "main": "dist/esm/index.js",
@@ -92,7 +92,6 @@
92
92
  "typescript": "^5.5.4"
93
93
  },
94
94
  "dependencies": {
95
- "@steelydylan/markdown-it-imsize": "^1.0.2",
96
95
  "markdown-it": "^12.3.2",
97
96
  "markdown-it-container": "^2.0.0",
98
97
  "markdown-it-custom-block": "^1.0.0",