imdone-core 2.0.1 → 2.0.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.
package/lib/adapters/markdown.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import checkbox from 'markdown-it-checkbox';
|
|
2
|
-
import imageSize from 'markdown-it-imsize';
|
|
3
2
|
import emoji from 'markdown-it-emoji';
|
|
4
3
|
import mark from 'markdown-it-mark';
|
|
5
4
|
import _removeMD from 'remove-markdown';
|
|
@@ -42,7 +41,6 @@ function getRenderer(filePath) {
|
|
|
42
41
|
md.use(checkbox)
|
|
43
42
|
.use(mark)
|
|
44
43
|
.use(emoji)
|
|
45
|
-
.use(imageSize)
|
|
46
44
|
.use(obsidianTopicLinks(filePath))
|
|
47
45
|
.use(replaceImagePaths(filePath))
|
|
48
46
|
.use(replaceLinkPathsAndTitles(filePath))
|
|
@@ -5,8 +5,6 @@ import { createRequire } from 'node:module';
|
|
|
5
5
|
import { logger } from '../adapters/logger.js';
|
|
6
6
|
|
|
7
7
|
const require = createRequire(import.meta.url);
|
|
8
|
-
const url = new URL(import.meta.url)
|
|
9
|
-
const __dirname = _path.dirname(url.pathname)
|
|
10
8
|
|
|
11
9
|
export default class ExtensionPlugin extends Plugin {
|
|
12
10
|
constructor(project) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "imdone-core",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "imdone-core",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -85,7 +85,6 @@
|
|
|
85
85
|
"markdown-it": "^14.1.0",
|
|
86
86
|
"markdown-it-checkbox": "^1.1.0",
|
|
87
87
|
"markdown-it-emoji": "^2.0.0",
|
|
88
|
-
"markdown-it-imsize": "^2.0.1",
|
|
89
88
|
"markdown-it-mark": "^3.0.1",
|
|
90
89
|
"moment": "^2.29.1",
|
|
91
90
|
"monquery": "github:imdone/node-monquery#0.2.1",
|