mirror of
https://github.com/vadimmelnicuk/meo.git
synced 2026-05-03 12:40:38 +00:00
336 lines
12 KiB
JSON
336 lines
12 KiB
JSON
{
|
|
"name": "meo",
|
|
"displayName": "Markdown Editor Optimized",
|
|
"description": "An optimized markdown editor with live editing mode for VS Code.",
|
|
"version": "0.1.17",
|
|
"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": [
|
|
"onStartupFinished"
|
|
],
|
|
"contributes": {
|
|
"languages": [
|
|
{
|
|
"id": "markdown",
|
|
"extensions": [
|
|
".mdx",
|
|
".mdc"
|
|
]
|
|
}
|
|
],
|
|
"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"
|
|
},
|
|
{
|
|
"filenamePattern": "*.mdx"
|
|
},
|
|
{
|
|
"filenamePattern": "*.mdc"
|
|
}
|
|
],
|
|
"priority": "default"
|
|
}
|
|
],
|
|
"menus": {
|
|
"explorer/context": [
|
|
{
|
|
"command": "markdownEditorOptimized.open",
|
|
"when": "resourceFilename =~ /\\.(md|markdown|mdx|mdc)$/",
|
|
"group": "navigation"
|
|
}
|
|
],
|
|
"editor/title/context": [
|
|
{
|
|
"command": "markdownEditorOptimized.open",
|
|
"when": "resourceFilename =~ /\\.(md|markdown|mdx|mdc)$/",
|
|
"group": "navigation"
|
|
}
|
|
]
|
|
},
|
|
"configurationDefaults": {
|
|
"workbench.editorAssociations": {
|
|
"*.md": "markdownEditorOptimized.editor",
|
|
"*.markdown": "markdownEditorOptimized.editor",
|
|
"*.mdx": "markdownEditorOptimized.editor",
|
|
"*.mdc": "markdownEditorOptimized.editor",
|
|
"git:/**/*.md": "default",
|
|
"git:/**/*.markdown": "default",
|
|
"git:/**/*.mdx": "default",
|
|
"git:/**/*.mdc": "default",
|
|
"git:**/*.md": "default",
|
|
"git:**/*.markdown": "default",
|
|
"git:**/*.mdx": "default",
|
|
"git:**/*.mdc": "default",
|
|
"chat-editing-text-model:/**/*.md": "default",
|
|
"chat-editing-text-model:/**/*.markdown": "default",
|
|
"chat-editing-text-model:/**/*.mdx": "default",
|
|
"chat-editing-text-model:/**/*.mdc": "default",
|
|
"chat-editing-text-model:**/*.md": "default",
|
|
"chat-editing-text-model:**/*.markdown": "default",
|
|
"chat-editing-text-model:**/*.mdx": "default",
|
|
"chat-editing-text-model:**/*.mdc": "default"
|
|
}
|
|
},
|
|
"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.gitChanges.lineHighlights": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"order": 5,
|
|
"description": "Show subtle line coloring for modified lines in Source mode."
|
|
},
|
|
"markdownEditorOptimized.autoSave.enabled": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"order": 6,
|
|
"description": "Enable the auto-save while editing."
|
|
},
|
|
"markdownEditorOptimized.vimMode.enabled": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"order": 7,
|
|
"description": "Enable Vim keybindings in Source mode."
|
|
},
|
|
"markdownEditorOptimized.export.pdf.browserPath": {
|
|
"type": "string",
|
|
"default": "",
|
|
"order": 8,
|
|
"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": 9,
|
|
"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 webview/dist/katex && bun build webview/src/index.ts --target=browser --format=esm --splitting --minify --outdir=webview/dist && cp webview/src/styles.css webview/dist/index.css && cp node_modules/mermaid/dist/mermaid.min.js webview/dist/mermaid.min.js && cp node_modules/katex/dist/katex.min.css webview/dist/katex/katex.min.css && cp -R node_modules/katex/dist/fonts webview/dist/katex/fonts",
|
|
"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",
|
|
"@lezer/highlight": "^1.2.3",
|
|
"@replit/codemirror-vim": "^6.3.0",
|
|
"@types/vscode": "^1.109.0",
|
|
"highlight.js": "^11.11.1",
|
|
"katex": "^0.16.28",
|
|
"lucide": "^0.564.0",
|
|
"markdown-it": "^14.1.0",
|
|
"markdown-it-emoji": "^3.0.0",
|
|
"mermaid": "^11.4.1",
|
|
"puppeteer-core": "^24.1.1",
|
|
"sanitize-html": "^2.17.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/markdown-it": "^14.1.2",
|
|
"@types/sanitize-html": "^2.16.0",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|