{ "name": "meo", "displayName": "Markdown Editor Optimized", "description": "An optimized markdown editor with live editing mode for VS Code.", "version": "0.1.13", "publisher": "vadimmelnicuk", "private": true, "icon": "logo.png", "engines": { "vscode": "^1.97.0" }, "categories": [ "Programming Languages", "Formatters", "Other" ], "keywords": [ "markdown", "editor", "live-edit", "wysiwyg", "markdown-editor", "markdown-preview" ], "repository": { "type": "git", "url": "https://github.com/vadimmelnicuk/meo.git" }, "main": "./dist/extension.js", "activationEvents": [ "onLanguage:markdown", "onCommand:markdownEditorOptimized.open", "onCommand:markdownEditorOptimized.setDefaultEditor", "onCommand:markdownEditorOptimized.resetThemeToDefaults", "onCommand:markdownEditorOptimized.toggleMode", "onCommand:markdownEditorOptimized.exportHtml", "onCommand:markdownEditorOptimized.exportPdf" ], "contributes": { "commands": [ { "command": "markdownEditorOptimized.open", "title": "Open With Markdown Editor Optimized", "icon": "$(book)" }, { "command": "markdownEditorOptimized.setDefaultEditor", "title": "Markdown Editor Optimized: Set as Default", "icon": "$(check)" }, { "command": "markdownEditorOptimized.resetThemeToDefaults", "title": "Markdown Editor Optimized: Reset Theme to Defaults", "icon": "$(discard)" }, { "command": "markdownEditorOptimized.toggleMode", "title": "Markdown Editor Optimized: Toggle Live/Source Mode", "icon": "$(sync)" }, { "command": "markdownEditorOptimized.exportHtml", "title": "Markdown Editor Optimized: Export as HTML", "icon": "$(export)" }, { "command": "markdownEditorOptimized.exportPdf", "title": "Markdown Editor Optimized: Export as PDF", "icon": "$(file-pdf)" } ], "keybindings": [ { "command": "markdownEditorOptimized.toggleMode", "key": "alt+shift+m", "when": "markdownEditorOptimized.activeEditor" } ], "customEditors": [ { "viewType": "markdownEditorOptimized.editor", "displayName": "Markdown Editor Optimized", "selector": [ { "filenamePattern": "*.md" }, { "filenamePattern": "*.markdown" } ], "priority": "default" } ], "menus": { "explorer/context": [ { "command": "markdownEditorOptimized.open", "when": "resourceFilename =~ /\\.(md|markdown)$/", "group": "navigation" } ], "editor/title/context": [ { "command": "markdownEditorOptimized.open", "when": "resourceFilename =~ /\\.(md|markdown)$/", "group": "navigation" }, { "command": "markdownEditorOptimized.exportHtml", "when": "resourceFilename =~ /\\.(md|markdown)$/", "group": "navigation@1" }, { "command": "markdownEditorOptimized.exportPdf", "when": "resourceFilename =~ /\\.(md|markdown)$/", "group": "navigation@2" } ] }, "configuration": { "title": "Markdown Editor Optimized", "properties": { "markdownEditorOptimized.useAsDefault": { "type": "boolean", "default": true, "order": 1, "description": "Use Markdown Editor Optimized as the default editor for Markdown files" }, "markdownEditorOptimized.outline.position": { "type": "string", "enum": [ "left", "right" ], "enumDescriptions": [ "Show the document outline on the left side of the editor.", "Show the document outline on the right side of the editor." ], "default": "right", "order": 2, "description": "Position of the contents outline sidebar." }, "markdownEditorOptimized.lineNumbers.visible": { "type": "boolean", "default": true, "order": 3, "description": "Show line numbers." }, "markdownEditorOptimized.gitChanges.visible": { "type": "boolean", "default": true, "order": 4, "description": "Show Git change indicators in the editor." }, "markdownEditorOptimized.autoSave.enabled": { "type": "boolean", "default": true, "order": 5, "description": "Enable the auto-save while editing." }, "markdownEditorOptimized.vimMode.enabled": { "type": "boolean", "default": false, "order": 6, "description": "Enable Vim keybindings in Source mode." }, "markdownEditorOptimized.export.pdf.browserPath": { "type": "string", "default": "", "order": 7, "description": "Optional path to a Chrome/Edge executable used for direct PDF export. Leave empty to auto-detect." }, "markdownEditorOptimized.imageFolder": { "type": "string", "default": "assets", "order": 8, "description": "Folder name to save pasted images (relative to workspace root)." }, "markdownEditorOptimized.theme.base02": { "type": "string", "format": "color-hex", "default": "#676f7d", "description": "Subtle syntax markers and comments." }, "markdownEditorOptimized.theme.base03": { "type": "string", "format": "color-hex", "default": "#3e444d", "description": "Muted borders and guides." }, "markdownEditorOptimized.theme.base04": { "type": "string", "format": "color-hex", "default": "#e06c75", "description": "Headings and keywords." }, "markdownEditorOptimized.theme.base05": { "type": "string", "format": "color-hex", "default": "#61afef", "description": "Links and primary identifiers." }, "markdownEditorOptimized.theme.base06": { "type": "string", "format": "color-hex", "default": "#66D9EF", "description": "Type and function accents." }, "markdownEditorOptimized.theme.base07": { "type": "string", "format": "color-hex", "default": "#e5c07b", "description": "Strings and strong emphasis." }, "markdownEditorOptimized.theme.base08": { "type": "string", "format": "color-hex", "default": "#c678dd", "description": "Numbers and constants." }, "markdownEditorOptimized.theme.base09": { "type": "string", "format": "color-hex", "default": "#98c379", "description": "Quotes and attributes." }, "markdownEditorOptimized.fonts.live": { "type": "string", "default": "", "description": "Font family for Live mode. Leave empty to use VS Code editor font." }, "markdownEditorOptimized.fonts.source": { "type": "string", "default": "", "description": "Font family for Source mode. Leave empty to use VS Code editor font." }, "markdownEditorOptimized.fonts.fontSize": { "type": [ "number", "null" ], "default": null, "minimum": 8, "description": "Font size in pixels. Leave unset to use VS Code editor font size." }, "markdownEditorOptimized.fonts.liveLineHeight": { "type": "number", "default": 1.5, "minimum": 1, "maximum": 3, "description": "Line height multiplier for Live mode editor content (for example, 1.4 or 1.6)." }, "markdownEditorOptimized.fonts.sourceLineHeight": { "type": "number", "default": 1.5, "minimum": 1, "maximum": 3, "description": "Line height multiplier for Source mode editor content (for example, 1.4 or 1.6)." } } } }, "scripts": { "install:all": "bun install && (cd webview && bun install)", "typecheck:webview": "tsc -p webview/tsconfig.json --noEmit", "build": "bun run build:webview && bun run build:extension", "build:webview": "rm -rf webview/dist && mkdir -p webview/dist && bun build webview/src/index.js --target=browser --format=iife --minify --outfile=webview/dist/index.js && cp webview/src/styles.css webview/dist/index.css && cp node_modules/mermaid/dist/mermaid.min.js webview/dist/mermaid.min.js", "build:extension": "bun run build:extension:main && bun run build:extension:export-runtime && bun run build:extension:puppeteer-runtime", "build:extension:main": "bun build src/extension.ts --target=node --format=cjs --minify --outfile=dist/extension.js -e vscode", "build:extension:main:debug": "bun build src/extension.ts --target=node --format=cjs --minify --outfile=dist/extension.js -e vscode --sourcemap=inline", "build:extension:export-runtime": "bun build src/export/runtime.ts --target=node --format=cjs --minify --outfile=dist/export-runtime.js", "build:extension:puppeteer-runtime": "bun build src/export/puppeteerRuntime.ts --target=node --format=cjs --minify --outfile=dist/puppeteer-runtime.js", "release:prep": "bun scripts/release-prep.mjs", "release:finalize": "bun scripts/release-prep.mjs finalize", "vscode:publish": "vsce package" }, "dependencies": { "@codemirror/commands": "6.8.1", "@codemirror/lang-cpp": "^6.0.3", "@codemirror/lang-css": "^6.3.1", "@codemirror/lang-html": "^6.4.11", "@codemirror/lang-javascript": "^6.2.4", "@codemirror/lang-json": "^6.0.2", "@codemirror/lang-markdown": "6.3.4", "@codemirror/lang-python": "^6.2.1", "@codemirror/language": "6.11.3", "@codemirror/state": "6.5.2", "@codemirror/view": "6.36.4", "@replit/codemirror-vim": "^6.3.0", "@lezer/highlight": "^1.2.3", "@types/vscode": "^1.109.0", "highlight.js": "^11.11.1", "lucide": "^0.564.0", "markdown-it": "^14.1.0", "mermaid": "^11.4.1", "puppeteer-core": "^24.1.1", "sanitize-html": "^2.17.0" }, "devDependencies": { "@types/sanitize-html": "^2.16.0", "typescript": "^5.9.3" } }