@mdwrk/mdwrkcom-content-pack 0.1.5
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/README.md +39 -0
- package/content/pages/answers/does-mdwrk-require-a-server.md +27 -0
- package/content/pages/answers/how-do-mdwrk-theme-packs-work.md +27 -0
- package/content/pages/answers/how-does-mdwrk-store-markdown-locally.md +27 -0
- package/content/pages/answers/index.md +39 -0
- package/content/pages/answers/what-is-a-local-first-markdown-workspace.md +27 -0
- package/content/pages/answers/what-is-an-offline-markdown-editor.md +27 -0
- package/content/pages/blog/launch.md +42 -0
- package/content/pages/compare/index.md +39 -0
- package/content/pages/compare/local-first-markdown-editors.md +27 -0
- package/content/pages/compare/mdwrk-vs-obsidian.md +27 -0
- package/content/pages/compare/mdwrk-vs-typora.md +27 -0
- package/content/pages/compare/mdwrk-vs-vscode-markdown.md +27 -0
- package/content/pages/docs/extensions.md +34 -0
- package/content/pages/docs/quickstart.md +48 -0
- package/content/pages/docs/theme-packs.md +34 -0
- package/content/pages/es/docs/quickstart.md +50 -0
- package/content/pages/features/extension-runtime.md +25 -0
- package/content/pages/features/github-sync.md +25 -0
- package/content/pages/features/index.md +42 -0
- package/content/pages/features/indexeddb-markdown-storage.md +25 -0
- package/content/pages/features/live-preview.md +25 -0
- package/content/pages/features/pwa-markdown-editor.md +25 -0
- package/content/pages/index.md +45 -0
- package/content/pages/markdown/basic-markdown-syntax.md +29 -0
- package/content/pages/markdown/generated/local-first-markdown-workspace/benefits.md +31 -0
- package/content/pages/markdown/generated/local-first-markdown-workspace/best-practices.md +31 -0
- package/content/pages/markdown/generated/local-first-markdown-workspace/checklist.md +31 -0
- package/content/pages/markdown/generated/local-first-markdown-workspace/examples.md +31 -0
- package/content/pages/markdown/generated/local-first-markdown-workspace/for-developers.md +31 -0
- package/content/pages/markdown/generated/local-first-markdown-workspace/for-teams.md +31 -0
- package/content/pages/markdown/generated/local-first-markdown-workspace/use-cases.md +31 -0
- package/content/pages/markdown/generated/local-first-markdown-workspace/workflow.md +31 -0
- package/content/pages/markdown/generated/markdown-blogging/benefits.md +31 -0
- package/content/pages/markdown/generated/markdown-blogging/best-practices.md +31 -0
- package/content/pages/markdown/generated/markdown-blogging/checklist.md +31 -0
- package/content/pages/markdown/generated/markdown-blogging/examples.md +31 -0
- package/content/pages/markdown/generated/markdown-blogging/for-developers.md +31 -0
- package/content/pages/markdown/generated/markdown-blogging/for-teams.md +31 -0
- package/content/pages/markdown/generated/markdown-blogging/use-cases.md +31 -0
- package/content/pages/markdown/generated/markdown-blogging/workflow.md +31 -0
- package/content/pages/markdown/generated/markdown-documentation/benefits.md +31 -0
- package/content/pages/markdown/generated/markdown-documentation/best-practices.md +31 -0
- package/content/pages/markdown/generated/markdown-documentation/checklist.md +31 -0
- package/content/pages/markdown/generated/markdown-documentation/examples.md +31 -0
- package/content/pages/markdown/generated/markdown-documentation/for-developers.md +31 -0
- package/content/pages/markdown/generated/markdown-documentation/for-teams.md +31 -0
- package/content/pages/markdown/generated/markdown-documentation/use-cases.md +31 -0
- package/content/pages/markdown/generated/markdown-documentation/workflow.md +31 -0
- package/content/pages/markdown/generated/markdown-editor/benefits.md +31 -0
- package/content/pages/markdown/generated/markdown-editor/best-practices.md +31 -0
- package/content/pages/markdown/generated/markdown-editor/checklist.md +31 -0
- package/content/pages/markdown/generated/markdown-editor/examples.md +31 -0
- package/content/pages/markdown/generated/markdown-editor/for-developers.md +31 -0
- package/content/pages/markdown/generated/markdown-editor/for-teams.md +31 -0
- package/content/pages/markdown/generated/markdown-editor/use-cases.md +31 -0
- package/content/pages/markdown/generated/markdown-editor/workflow.md +31 -0
- package/content/pages/markdown/generated/markdown-extension-workflows/benefits.md +31 -0
- package/content/pages/markdown/generated/markdown-extension-workflows/best-practices.md +31 -0
- package/content/pages/markdown/generated/markdown-extension-workflows/checklist.md +31 -0
- package/content/pages/markdown/generated/markdown-extension-workflows/examples.md +31 -0
- package/content/pages/markdown/generated/markdown-extension-workflows/for-developers.md +31 -0
- package/content/pages/markdown/generated/markdown-extension-workflows/for-teams.md +31 -0
- package/content/pages/markdown/generated/markdown-extension-workflows/use-cases.md +31 -0
- package/content/pages/markdown/generated/markdown-extension-workflows/workflow.md +31 -0
- package/content/pages/markdown/generated/markdown-for-developers/benefits.md +31 -0
- package/content/pages/markdown/generated/markdown-for-developers/best-practices.md +31 -0
- package/content/pages/markdown/generated/markdown-for-developers/checklist.md +31 -0
- package/content/pages/markdown/generated/markdown-for-developers/examples.md +31 -0
- package/content/pages/markdown/generated/markdown-for-developers/for-developers.md +31 -0
- package/content/pages/markdown/generated/markdown-for-developers/for-teams.md +31 -0
- package/content/pages/markdown/generated/markdown-for-developers/use-cases.md +31 -0
- package/content/pages/markdown/generated/markdown-for-developers/workflow.md +31 -0
- package/content/pages/markdown/generated/markdown-for-teams/benefits.md +31 -0
- package/content/pages/markdown/generated/markdown-for-teams/best-practices.md +31 -0
- package/content/pages/markdown/generated/markdown-for-teams/checklist.md +31 -0
- package/content/pages/markdown/generated/markdown-for-teams/examples.md +31 -0
- package/content/pages/markdown/generated/markdown-for-teams/for-developers.md +31 -0
- package/content/pages/markdown/generated/markdown-for-teams/for-teams.md +31 -0
- package/content/pages/markdown/generated/markdown-for-teams/use-cases.md +31 -0
- package/content/pages/markdown/generated/markdown-for-teams/workflow.md +31 -0
- package/content/pages/markdown/generated/markdown-knowledge-base/benefits.md +31 -0
- package/content/pages/markdown/generated/markdown-knowledge-base/best-practices.md +31 -0
- package/content/pages/markdown/generated/markdown-knowledge-base/checklist.md +31 -0
- package/content/pages/markdown/generated/markdown-knowledge-base/examples.md +31 -0
- package/content/pages/markdown/generated/markdown-knowledge-base/for-developers.md +31 -0
- package/content/pages/markdown/generated/markdown-knowledge-base/for-teams.md +31 -0
- package/content/pages/markdown/generated/markdown-knowledge-base/use-cases.md +31 -0
- package/content/pages/markdown/generated/markdown-knowledge-base/workflow.md +31 -0
- package/content/pages/markdown/generated/markdown-notes/benefits.md +31 -0
- package/content/pages/markdown/generated/markdown-notes/best-practices.md +31 -0
- package/content/pages/markdown/generated/markdown-notes/checklist.md +31 -0
- package/content/pages/markdown/generated/markdown-notes/examples.md +31 -0
- package/content/pages/markdown/generated/markdown-notes/for-developers.md +31 -0
- package/content/pages/markdown/generated/markdown-notes/for-teams.md +31 -0
- package/content/pages/markdown/generated/markdown-notes/use-cases.md +31 -0
- package/content/pages/markdown/generated/markdown-notes/workflow.md +31 -0
- package/content/pages/markdown/generated/markdown-preview/benefits.md +31 -0
- package/content/pages/markdown/generated/markdown-preview/best-practices.md +31 -0
- package/content/pages/markdown/generated/markdown-preview/checklist.md +31 -0
- package/content/pages/markdown/generated/markdown-preview/examples.md +31 -0
- package/content/pages/markdown/generated/markdown-preview/for-developers.md +31 -0
- package/content/pages/markdown/generated/markdown-preview/for-teams.md +31 -0
- package/content/pages/markdown/generated/markdown-preview/use-cases.md +31 -0
- package/content/pages/markdown/generated/markdown-preview/workflow.md +31 -0
- package/content/pages/markdown/generated/markdown-project-docs/benefits.md +31 -0
- package/content/pages/markdown/generated/markdown-project-docs/best-practices.md +31 -0
- package/content/pages/markdown/generated/markdown-project-docs/checklist.md +31 -0
- package/content/pages/markdown/generated/markdown-project-docs/examples.md +31 -0
- package/content/pages/markdown/generated/markdown-project-docs/for-developers.md +31 -0
- package/content/pages/markdown/generated/markdown-project-docs/for-teams.md +31 -0
- package/content/pages/markdown/generated/markdown-project-docs/use-cases.md +31 -0
- package/content/pages/markdown/generated/markdown-project-docs/workflow.md +31 -0
- package/content/pages/markdown/generated/markdown-readme/benefits.md +31 -0
- package/content/pages/markdown/generated/markdown-readme/best-practices.md +31 -0
- package/content/pages/markdown/generated/markdown-readme/checklist.md +31 -0
- package/content/pages/markdown/generated/markdown-readme/examples.md +31 -0
- package/content/pages/markdown/generated/markdown-readme/for-developers.md +31 -0
- package/content/pages/markdown/generated/markdown-readme/for-teams.md +31 -0
- package/content/pages/markdown/generated/markdown-readme/use-cases.md +31 -0
- package/content/pages/markdown/generated/markdown-readme/workflow.md +31 -0
- package/content/pages/markdown/generated/markdown-theme-packs/benefits.md +31 -0
- package/content/pages/markdown/generated/markdown-theme-packs/best-practices.md +31 -0
- package/content/pages/markdown/generated/markdown-theme-packs/checklist.md +31 -0
- package/content/pages/markdown/generated/markdown-theme-packs/examples.md +31 -0
- package/content/pages/markdown/generated/markdown-theme-packs/for-developers.md +31 -0
- package/content/pages/markdown/generated/markdown-theme-packs/for-teams.md +31 -0
- package/content/pages/markdown/generated/markdown-theme-packs/use-cases.md +31 -0
- package/content/pages/markdown/generated/markdown-theme-packs/workflow.md +31 -0
- package/content/pages/markdown/generated/markdown-writing-workflow/benefits.md +31 -0
- package/content/pages/markdown/generated/markdown-writing-workflow/best-practices.md +31 -0
- package/content/pages/markdown/generated/markdown-writing-workflow/checklist.md +31 -0
- package/content/pages/markdown/generated/markdown-writing-workflow/examples.md +31 -0
- package/content/pages/markdown/generated/markdown-writing-workflow/for-developers.md +31 -0
- package/content/pages/markdown/generated/markdown-writing-workflow/for-teams.md +31 -0
- package/content/pages/markdown/generated/markdown-writing-workflow/use-cases.md +31 -0
- package/content/pages/markdown/generated/markdown-writing-workflow/workflow.md +31 -0
- package/content/pages/markdown/generated/offline-markdown-editor/benefits.md +31 -0
- package/content/pages/markdown/generated/offline-markdown-editor/best-practices.md +31 -0
- package/content/pages/markdown/generated/offline-markdown-editor/checklist.md +31 -0
- package/content/pages/markdown/generated/offline-markdown-editor/examples.md +31 -0
- package/content/pages/markdown/generated/offline-markdown-editor/for-developers.md +31 -0
- package/content/pages/markdown/generated/offline-markdown-editor/for-teams.md +31 -0
- package/content/pages/markdown/generated/offline-markdown-editor/use-cases.md +31 -0
- package/content/pages/markdown/generated/offline-markdown-editor/workflow.md +31 -0
- package/content/pages/markdown/how-to-write-markdown.md +29 -0
- package/content/pages/markdown/index.md +40 -0
- package/content/pages/markdown/markdown-vs-html.md +29 -0
- package/content/pages/markdown/what-is-a-markdown-editor.md +29 -0
- package/content/pages/markdown/what-is-markdown-used-for.md +29 -0
- package/content/pages/markdown/what-is-markdown.md +29 -0
- package/content/pages/packages/extension-runtime.md +33 -0
- package/content/pages/packages/index.md +42 -0
- package/content/pages/packages/markdown-editor-react.md +33 -0
- package/content/pages/packages/markdown-renderer-core.md +33 -0
- package/content/pages/packages/markdown-renderer-react.md +33 -0
- package/content/pages/packages/theme-contract.md +33 -0
- package/content/pages/privacy.md +41 -0
- package/content/pages/proof/browser-support.md +22 -0
- package/content/pages/proof/markdown-support.md +22 -0
- package/content/pages/proof/package-surfaces.md +22 -0
- package/content/pages/security.md +38 -0
- package/content/pages/trust/privacy-boundary.md +22 -0
- package/data/article-metadata.schema.json +111 -0
- package/data/content-sitemap.yaml +31 -0
- package/data/content.ts +55 -0
- package/data/docs.ts +111 -0
- package/data/markdown/AGENTS.md +10 -0
- package/data/markdown/blog/client-split-out-backstory.md +97 -0
- package/data/markdown/blog/desktop-release-and-android-verification.md +65 -0
- package/data/markdown/blog/docs-surface-realignment.md +70 -0
- package/data/markdown/blog/extension-compatibility-and-publish-gates.md +59 -0
- package/data/markdown/blog/extension-host-rollout.md +92 -0
- package/data/markdown/blog/governed-releases-and-package-docs.md +69 -0
- package/data/markdown/blog/markdown-workspace-launch.md +75 -0
- package/data/markdown/blog/pwa-install-and-zoom-controls.md +64 -0
- package/data/markdown/blog/responsive-authoring-and-export.md +64 -0
- package/data/markdown/blog/retained-client-versions-and-desktop-shell.md +59 -0
- package/data/markdown/blog/screenshot-matrix-and-browser-sidebars.md +57 -0
- package/data/markdown/blog/settings-simplification-for-daily-flow.md +54 -0
- package/data/markdown/blog/workspace-files-and-git-ops-packages.md +53 -0
- package/data/markdown/docs/authoring/authoring-overview.md +59 -0
- package/data/markdown/docs/authoring/extension-authoring-guide.md +69 -0
- package/data/markdown/docs/authoring/extensions.md +93 -0
- package/data/markdown/docs/authoring/language-packs.md +81 -0
- package/data/markdown/docs/authoring/theme-packs.md +81 -0
- package/data/markdown/docs/comparisons/mdwrk-vs-logseq.md +49 -0
- package/data/markdown/docs/comparisons/mdwrk-vs-marktext.md +49 -0
- package/data/markdown/docs/comparisons/mdwrk-vs-notion.md +49 -0
- package/data/markdown/docs/comparisons/mdwrk-vs-obsidian.md +49 -0
- package/data/markdown/docs/comparisons/mdwrk-vs-standard-markdown-editors.md +49 -0
- package/data/markdown/docs/comparisons/mdwrk-vs-typora.md +49 -0
- package/data/markdown/docs/comparisons/mdwrk-vs-vs-code.md +49 -0
- package/data/markdown/docs/comparisons/mdwrk-vs-zettlr.md +49 -0
- package/data/markdown/docs/extensions/extension-platform.md +64 -0
- package/data/markdown/docs/extensions/theme-studio-and-host-surfaces.md +54 -0
- package/data/markdown/docs/getting-started/browser-use.md +59 -0
- package/data/markdown/docs/getting-started/configuration.md +82 -0
- package/data/markdown/docs/getting-started/installation.md +74 -0
- package/data/markdown/docs/getting-started/local-setup.md +94 -0
- package/data/markdown/docs/getting-started/pwa-installation.md +62 -0
- package/data/markdown/docs/getting-started/standalone-modules.md +87 -0
- package/data/markdown/docs/github-sync.md +51 -0
- package/data/markdown/docs/product/desktop-app-boundary.md +57 -0
- package/data/markdown/docs/product/developer-documentation.md +52 -0
- package/data/markdown/docs/product/extension-host.md +52 -0
- package/data/markdown/docs/product/local-first-markdown-workspace.md +52 -0
- package/data/markdown/docs/product/markdown-file-manager.md +52 -0
- package/data/markdown/docs/product/markdown-preview-editor.md +52 -0
- package/data/markdown/docs/product/markdown-profile-architecture.md +51 -0
- package/data/markdown/docs/product/offline-markdown-editor.md +52 -0
- package/data/markdown/docs/product/privacy-first-markdown-editor.md +52 -0
- package/data/markdown/docs/product/theme-packs.md +52 -0
- package/data/markdown/docs/product/uix-responsive-contract.md +51 -0
- package/data/markdown/docs/usage/advanced-formatting.md +181 -0
- package/data/markdown/docs/usage/checkbox-autocomplete.md +51 -0
- package/data/markdown/docs/usage/editor-basics.md +138 -0
- package/data/markdown/docs/usage/rendering-and-preview.md +157 -0
- package/data/markdown/docs/usage/text-wrap-previewer.md +45 -0
- package/data/markdown/docs/usage/ui-refresh-1-3-28.md +43 -0
- package/data/markdown/docs/usage/ui-refresh-1-3-29.md +44 -0
- package/data/markdown/docs/usage/view-toolbar.md +47 -0
- package/data/markdown/legal/privacy.md +21 -0
- package/data/markdown/legal/terms.md +19 -0
- package/data/markdown-topic-matrix.json +169 -0
- package/dist/index.d.ts +26 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +49 -0
- package/dist/index.js.map +1 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +2 -0
- package/dist/version.js.map +1 -0
- package/generated/cache-header-manifest.json +6558 -0
- package/generated/content-index.json +3689 -0
- package/generated/content-registry.json +15203 -0
- package/generated/jsonld-graph.json +21815 -0
- package/generated/llms-full.txt +1769 -0
- package/generated/llms.txt +225 -0
- package/generated/robots.txt +28 -0
- package/generated/semantic-index.json +7595 -0
- package/generated/sitemap.xml +1114 -0
- package/generated/sitemap.xsl +59 -0
- package/package.json +57 -0
- package/public/blog/media/extension-manager-pane.jpg +0 -0
- package/public/blog/media/lander-blog-list.png +0 -0
- package/public/blog/media/lander-docs-dark.png +0 -0
- package/public/blog/media/lander-home-light.png +0 -0
- package/public/blog/media/language-pack-studio-pane.jpg +0 -0
- package/public/blog/media/mdwrk-git-pane.png +0 -0
- package/public/blog/media/mdwrk-settings-visual.png +0 -0
- package/public/blog/media/mdwrk-workspace-editor.png +0 -0
- package/public/blog/media/mdwrk-workspace-split.png +0 -0
- package/public/blog/media/settings-github-configurations.jpg +0 -0
- package/public/blog/media/theme-selector-modal.jpg +0 -0
- package/public/blog/media/theme-studio-pane.jpg +0 -0
- package/public/favicon.svg +10 -0
- package/public/llms.txt +85 -0
- package/public/og-image.png +0 -0
- package/public/og-image.svg +12 -0
- package/public/robots.txt +4 -0
- package/public/semantic-index.json +1627 -0
- package/public/sitemap.xml +342 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Client Configuration
|
|
3
|
+
slug: getting-started/configuration
|
|
4
|
+
section: Getting Started
|
|
5
|
+
sectionOrder: 1
|
|
6
|
+
order: 6
|
|
7
|
+
toc: true
|
|
8
|
+
date: 2026-05-02
|
|
9
|
+
status: published
|
|
10
|
+
author: CobyCloud
|
|
11
|
+
excerpt: Theme Selection Open Settings -> Theme to switch between built-in theme families. Themes are contract-backed and flow through the editor, preview, export, and extension theme APIs.
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Theme Selection
|
|
15
|
+
Open **Settings -> Theme** to switch between built-in theme families. Themes are contract-backed and flow through the editor, preview, export, and extension theme APIs.
|
|
16
|
+
|
|
17
|
+
## Workspace Defaults
|
|
18
|
+
- **Autosave**: Enabled by default for local-first persistence.
|
|
19
|
+
- **Default View**: Choose Editor, Preview, or Split to match your writing style.
|
|
20
|
+
- **Markdown Profiles**: Enable optional profile features without forking the renderer.
|
|
21
|
+
- **Git Sync**: Provide credentials only when you want to push or pull.
|
|
22
|
+
- **Extension Settings**: First-party and external extensions register their own schema-backed settings panels.
|
|
23
|
+
|
|
24
|
+
## Lander Environment Variables
|
|
25
|
+
The lander reads public navigation and metadata values at build time:
|
|
26
|
+
|
|
27
|
+
| Variable | Purpose |
|
|
28
|
+
| :--- | :--- |
|
|
29
|
+
| `VITE_SITE_URL` | Canonical production origin used for sitemap and robots output. |
|
|
30
|
+
| `VITE_APP_URL` | Installed app URL used by hero app-entry actions. |
|
|
31
|
+
| `VITE_DEMO_URL` | URL for the live demo call to action. |
|
|
32
|
+
| `VITE_GITHUB_REPO_URL` | Repository link used by the header GitHub action. |
|
|
33
|
+
| `VITE_NPM_REPO_URL` | npm organization or package URL. |
|
|
34
|
+
| `VITE_NPM_CLIENT_VERSION` | Published client package version shown in the hero. |
|
|
35
|
+
| `VITE_NPM_ESM_CDN_URL` | ESM CDN URL used by package examples. |
|
|
36
|
+
| `VITE_X_URL` | X profile URL shown in the footer. |
|
|
37
|
+
| `VITE_COMMUNITY_URL` | Community destination shown in the footer. |
|
|
38
|
+
|
|
39
|
+
Defaults are kept in the lander source so local builds remain usable without a full environment file.
|
|
40
|
+
|
|
41
|
+
## Reverse Proxy
|
|
42
|
+
Run the lander container on the internal Docker network and route traffic through your reverse proxy.
|
|
43
|
+
|
|
44
|
+
## Package-Level Configuration
|
|
45
|
+
If you consume the split packages directly:
|
|
46
|
+
|
|
47
|
+
- `@mdwrk/markdown-editor-react` owns source-authoring behavior.
|
|
48
|
+
- `@mdwrk/markdown-renderer-react` owns rendered markdown output.
|
|
49
|
+
- `@mdwrk/theme-contract` owns theme token and bridge compatibility.
|
|
50
|
+
|
|
51
|
+
## Metadata and Discovery
|
|
52
|
+
The lander includes production metadata for:
|
|
53
|
+
|
|
54
|
+
- canonical links
|
|
55
|
+
- Open Graph previews
|
|
56
|
+
- Twitter card previews
|
|
57
|
+
- favicon assets
|
|
58
|
+
- `robots.txt`
|
|
59
|
+
- `llms.txt`
|
|
60
|
+
- generated `sitemap.xml`
|
|
61
|
+
|
|
62
|
+
Regenerate the sitemap during every production build so public routes stay aligned with the current Markdown docs.
|
|
63
|
+
|
|
64
|
+
## Quick Reference
|
|
65
|
+
|
|
66
|
+
Use this article to understand Client Configuration in the MdWrk Getting Started surface. Client Configuration explains how this MdWrk surface works in the current client and package system.
|
|
67
|
+
|
|
68
|
+
Key concepts covered here:
|
|
69
|
+
|
|
70
|
+
- local Markdown files
|
|
71
|
+
- live preview
|
|
72
|
+
- workspace organization
|
|
73
|
+
- extension host contracts
|
|
74
|
+
- theme portability
|
|
75
|
+
|
|
76
|
+
Useful follow-up pages:
|
|
77
|
+
|
|
78
|
+
- [Local-First Markdown Workspace](/features/local-first-markdown-workspace)
|
|
79
|
+
- [Markdown Preview Editor](/features/markdown-preview-editor)
|
|
80
|
+
- [Editor Basics](/features/editor-basics)
|
|
81
|
+
|
|
82
|
+
The MdWrk client ships with sensible defaults. These settings are part of the client and extension host surface, not the lander.
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Client Installation
|
|
3
|
+
slug: getting-started/installation
|
|
4
|
+
section: Getting Started
|
|
5
|
+
sectionOrder: 1
|
|
6
|
+
order: 1
|
|
7
|
+
toc: true
|
|
8
|
+
date: 2026-05-02
|
|
9
|
+
status: published
|
|
10
|
+
author: CobyCloud
|
|
11
|
+
excerpt: Use the browser route for immediate access, the PWA route for an installable shell, local setup for development control, or standalone modules for package-level adoption.
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Installation Paths
|
|
15
|
+
|
|
16
|
+
- [Use in a browser](/docs/getting-started/browser-use) when you want the fastest way to start writing without installing anything.
|
|
17
|
+
- [Install as a PWA](/docs/getting-started/pwa-installation) when you want an app-like shell with browser-managed updates.
|
|
18
|
+
- [Run locally from the repo or a local build](/docs/getting-started/local-setup) when you need a local development or self-hosted workflow.
|
|
19
|
+
- [Use standalone modules](/docs/getting-started/standalone-modules) when you only want the reusable client, editor, or renderer packages.
|
|
20
|
+
|
|
21
|
+
## Quick Choice Guide
|
|
22
|
+
|
|
23
|
+
Use the browser route if you want immediate access with no setup.
|
|
24
|
+
Use the PWA route if you want a dedicated window and installable shell.
|
|
25
|
+
Use the local route if you need development control, local hosting, or a private self-managed deployment.
|
|
26
|
+
Use standalone modules if you are embedding MdWrk surfaces into another product or internal tool.
|
|
27
|
+
|
|
28
|
+
## Workspace Client Package
|
|
29
|
+
|
|
30
|
+
The publishable client package is:
|
|
31
|
+
|
|
32
|
+
```text
|
|
33
|
+
@mdwrk/mdwrkspace
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
The split reusable packages start with:
|
|
37
|
+
|
|
38
|
+
```text
|
|
39
|
+
@mdwrk/markdown-editor-react
|
|
40
|
+
@mdwrk/markdown-renderer-react
|
|
41
|
+
@mdwrk/markdown-renderer-core
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
For package discovery and published versions, use the organization page:
|
|
45
|
+
|
|
46
|
+
```text
|
|
47
|
+
https://www.npmjs.com/org/mdwrk
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Notes
|
|
51
|
+
|
|
52
|
+
Bundled extensions ship with the client build. External installable extensions follow the signed-manifest and trust-policy path documented in the extension docs.
|
|
53
|
+
Published dates and statuses control whether installation docs appear on the lander at all, so draft installation notes can stay private until they are ready.
|
|
54
|
+
|
|
55
|
+
## Quick Reference
|
|
56
|
+
|
|
57
|
+
Use this article to understand Client Installation in the MdWrk Getting Started surface. Client Installation explains how this MdWrk surface works in the current client and package system.
|
|
58
|
+
|
|
59
|
+
Key concepts covered here:
|
|
60
|
+
|
|
61
|
+
- local Markdown files
|
|
62
|
+
- workspace organization
|
|
63
|
+
- extension host contracts
|
|
64
|
+
- developer package reuse
|
|
65
|
+
|
|
66
|
+
Useful follow-up pages:
|
|
67
|
+
|
|
68
|
+
- [Local-First Markdown Workspace](/features/local-first-markdown-workspace)
|
|
69
|
+
- [Editor Basics](/features/editor-basics)
|
|
70
|
+
- [Extension Platform](/docs/extensions/extension-platform)
|
|
71
|
+
|
|
72
|
+
`mdwrk` is the client and package surface. The lander is only the documentation and release site.
|
|
73
|
+
|
|
74
|
+
Choose the workflow that matches how you want to consume the workspace or packages.
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Local Setup
|
|
3
|
+
slug: getting-started/local-setup
|
|
4
|
+
section: Getting Started
|
|
5
|
+
sectionOrder: 1
|
|
6
|
+
order: 4
|
|
7
|
+
toc: true
|
|
8
|
+
date: 2026-05-02
|
|
9
|
+
status: published
|
|
10
|
+
author: CobyCloud
|
|
11
|
+
excerpt: This path is for maintainers, internal adopters, and self-hosting operators who want more control than the browser or PWA flows provide.
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## What it covers
|
|
15
|
+
|
|
16
|
+
This path is for maintainers, internal adopters, and self-hosting operators who want more control than the browser or PWA flows provide.
|
|
17
|
+
|
|
18
|
+
## Workspace prerequisites
|
|
19
|
+
|
|
20
|
+
- Node.js `>=20 <23`
|
|
21
|
+
- npm `>=10`
|
|
22
|
+
- a local checkout of the repository
|
|
23
|
+
|
|
24
|
+
## Basic local workflow
|
|
25
|
+
|
|
26
|
+
1. Clone the repository.
|
|
27
|
+
2. Install workspace dependencies.
|
|
28
|
+
3. Start the surface you want to work on.
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
git clone https://github.com/groupsum/markdown_workspace.git
|
|
32
|
+
cd markdown_workspace
|
|
33
|
+
npm install --ignore-scripts
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Common local commands
|
|
37
|
+
|
|
38
|
+
Run the client during development:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
npm run dev:client
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Run the lander during development:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
npm run dev:mdwrkcom
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Build the client:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
npm run build -w apps/client
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Build the lander:
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
npm run build -w apps/mdwrkcom
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Self-hosting notes
|
|
63
|
+
|
|
64
|
+
The lander is a static site build. Set `VITE_SITE_URL` at build time so `robots.txt` and `sitemap.xml` use the correct public origin.
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
VITE_SITE_URL=https://mdwrk.com npm run build -w apps/mdwrkcom
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
The public lander is intended to sit behind a reverse proxy. Docker Compose in this repository must keep services internal-only rather than exposing ports directly.
|
|
71
|
+
|
|
72
|
+
## When to choose another path
|
|
73
|
+
|
|
74
|
+
Choose browser use or the PWA route when you just want to write.
|
|
75
|
+
Choose standalone modules when you want package reuse without running the whole repository workspace.
|
|
76
|
+
|
|
77
|
+
## Quick Reference
|
|
78
|
+
|
|
79
|
+
Use this article to understand Local Setup in the MdWrk Getting Started surface. Local Setup explains how this MdWrk surface works in the current client and package system.
|
|
80
|
+
|
|
81
|
+
Key concepts covered here:
|
|
82
|
+
|
|
83
|
+
- local Markdown files
|
|
84
|
+
- workspace organization
|
|
85
|
+
- extension host contracts
|
|
86
|
+
- developer package reuse
|
|
87
|
+
|
|
88
|
+
Useful follow-up pages:
|
|
89
|
+
|
|
90
|
+
- [Local-First Markdown Workspace](/features/local-first-markdown-workspace)
|
|
91
|
+
- [GitHub Sync](/docs/github-sync)
|
|
92
|
+
- [PWA Installation](/docs/getting-started/pwa-installation)
|
|
93
|
+
|
|
94
|
+
Use local setup when you want to run MdWrk from a repository checkout, create your own builds, or host the public surfaces yourself.
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: PWA Installation
|
|
3
|
+
slug: getting-started/pwa-installation
|
|
4
|
+
section: Getting Started
|
|
5
|
+
sectionOrder: 1
|
|
6
|
+
order: 3
|
|
7
|
+
toc: true
|
|
8
|
+
date: 2026-05-02
|
|
9
|
+
status: published
|
|
10
|
+
author: CobyCloud
|
|
11
|
+
excerpt: The Progressive Web App path keeps the MdWrk client in the web platform, but lets supported browsers install it as a dedicated app window.
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## What it is
|
|
15
|
+
|
|
16
|
+
The Progressive Web App path keeps the MdWrk client in the web platform, but lets supported browsers install it as a dedicated app window.
|
|
17
|
+
|
|
18
|
+
## Typical install flow
|
|
19
|
+
|
|
20
|
+
1. Open the MdWrk site in a PWA-capable browser.
|
|
21
|
+
2. Use the browser's install action from the address bar, app menu, or share sheet.
|
|
22
|
+
3. Launch the installed app from its icon or application list.
|
|
23
|
+
|
|
24
|
+
## Best fit
|
|
25
|
+
|
|
26
|
+
- frequent daily writing
|
|
27
|
+
- a focused app window without full browser chrome
|
|
28
|
+
- users who want updates delivered through the browser-managed install flow
|
|
29
|
+
|
|
30
|
+
## Update behavior
|
|
31
|
+
|
|
32
|
+
PWA updates are delivered through the normal web app update lifecycle. When a new build is ready, the client can prompt you to refresh into the updated version.
|
|
33
|
+
|
|
34
|
+
## Storage and backup
|
|
35
|
+
|
|
36
|
+
PWA mode still uses browser-managed local storage. Installability does not turn the app into a server-backed product, so exports and backups are still your responsibility.
|
|
37
|
+
|
|
38
|
+
## When to choose another path
|
|
39
|
+
|
|
40
|
+
Choose browser use when you do not want to install anything.
|
|
41
|
+
Choose local setup when you need a repo checkout, local build scripts, or self-hosted control.
|
|
42
|
+
Choose standalone modules when you need package-level reuse instead of the full workspace shell.
|
|
43
|
+
|
|
44
|
+
## Quick Reference
|
|
45
|
+
|
|
46
|
+
Use this article to understand PWA Installation in the MdWrk Getting Started surface. PWA Installation explains how this MdWrk surface works in the current client and package system.
|
|
47
|
+
|
|
48
|
+
Key concepts covered here:
|
|
49
|
+
|
|
50
|
+
- local Markdown files
|
|
51
|
+
- live preview
|
|
52
|
+
- workspace organization
|
|
53
|
+
- privacy-first storage
|
|
54
|
+
- extension host contracts
|
|
55
|
+
|
|
56
|
+
Useful follow-up pages:
|
|
57
|
+
|
|
58
|
+
- [Local-First Markdown Workspace](/features/local-first-markdown-workspace)
|
|
59
|
+
- [PWA Installation](/docs/getting-started/pwa-installation)
|
|
60
|
+
- [Browser Use](/docs/getting-started/browser-use)
|
|
61
|
+
|
|
62
|
+
Use the PWA route when you want the browser-hosted workspace with an installable app shell.
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Standalone Modules
|
|
3
|
+
slug: getting-started/standalone-modules
|
|
4
|
+
section: Getting Started
|
|
5
|
+
sectionOrder: 1
|
|
6
|
+
order: 5
|
|
7
|
+
toc: true
|
|
8
|
+
date: 2026-05-02
|
|
9
|
+
status: published
|
|
10
|
+
author: CobyCloud
|
|
11
|
+
excerpt: MdWrk standalone modules expose the editor, renderer, extension contracts, theme tokens, and installable extension packages as reusable package surfaces.
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Primary packages
|
|
15
|
+
|
|
16
|
+
The main package surfaces are:
|
|
17
|
+
|
|
18
|
+
- `@mdwrk/mdwrkspace` for the full reusable workspace client
|
|
19
|
+
- `@mdwrk/markdown-editor-react` for the editor surface
|
|
20
|
+
- `@mdwrk/markdown-renderer-react` for the React renderer surface
|
|
21
|
+
- `@mdwrk/markdown-renderer-core` for core parsing and rendering utilities
|
|
22
|
+
|
|
23
|
+
## Full client package
|
|
24
|
+
|
|
25
|
+
Install the reusable client package when you want the packaged workspace surface:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
npm install @mdwrk/mdwrkspace
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Split editor and renderer packages
|
|
32
|
+
|
|
33
|
+
Install the split packages when you only need one part of the experience:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
npm install @mdwrk/markdown-editor-react @mdwrk/markdown-renderer-react
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
The editor React package depends on the editor core package internally.
|
|
40
|
+
The renderer React package depends on the renderer core package internally.
|
|
41
|
+
|
|
42
|
+
## ESM CDN example
|
|
43
|
+
|
|
44
|
+
Load the published client directly from an ESM CDN:
|
|
45
|
+
|
|
46
|
+
```html
|
|
47
|
+
<div id="mdwrkspace-root"></div>
|
|
48
|
+
<script type="module">
|
|
49
|
+
import { mountMdWrkSpace } from "https://esm.sh/@mdwrk/mdwrkspace";
|
|
50
|
+
|
|
51
|
+
const root = document.getElementById("mdwrkspace-root");
|
|
52
|
+
mountMdWrkSpace(root);
|
|
53
|
+
</script>
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Package selection guidance
|
|
57
|
+
|
|
58
|
+
Choose `@mdwrk/mdwrkspace` when you want the packaged workspace entrypoint.
|
|
59
|
+
Choose `@mdwrk/markdown-editor-react` when authoring is the primary concern.
|
|
60
|
+
Choose `@mdwrk/markdown-renderer-react` when rendering is the primary concern.
|
|
61
|
+
Choose `@mdwrk/markdown-renderer-core` when you need lower-level parsing and HTML rendering utilities.
|
|
62
|
+
|
|
63
|
+
## Related guidance
|
|
64
|
+
|
|
65
|
+
For package-level configuration details, see the client configuration docs.
|
|
66
|
+
For published package discovery, use:
|
|
67
|
+
|
|
68
|
+
```text
|
|
69
|
+
https://www.npmjs.com/org/mdwrk
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## Quick Reference
|
|
73
|
+
|
|
74
|
+
Use this article to understand Standalone Modules in the MdWrk Getting Started surface. Standalone Modules explains how this MdWrk surface works in the current client and package system.
|
|
75
|
+
|
|
76
|
+
Key concepts covered here:
|
|
77
|
+
|
|
78
|
+
- workspace organization
|
|
79
|
+
- developer package reuse
|
|
80
|
+
|
|
81
|
+
Useful follow-up pages:
|
|
82
|
+
|
|
83
|
+
- [Local-First Markdown Workspace](/features/local-first-markdown-workspace)
|
|
84
|
+
- [Editor Basics](/features/editor-basics)
|
|
85
|
+
- [Client Installation](/docs/getting-started/installation)
|
|
86
|
+
|
|
87
|
+
Use standalone modules when you want MdWrk surfaces inside another application rather than the full workspace shell.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: GitHub Sync
|
|
3
|
+
slug: github-sync
|
|
4
|
+
section: Integrations
|
|
5
|
+
sectionOrder: 3
|
|
6
|
+
order: 1
|
|
7
|
+
toc: true
|
|
8
|
+
date: 2026-05-02
|
|
9
|
+
status: published
|
|
10
|
+
author: CobyCloud
|
|
11
|
+
excerpt: Repository Access Use a GitHub personal access token with the narrowest permissions your workflow requires. Store the token only when you want mdwrk to read from or write to a repository.
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Repository Access
|
|
15
|
+
Use a GitHub personal access token with the narrowest permissions your workflow requires. Store the token only when you want mdwrk to read from or write to a repository.
|
|
16
|
+
|
|
17
|
+
## Pull and Push
|
|
18
|
+
Typical sync flow:
|
|
19
|
+
|
|
20
|
+
1. Pull repository content into the local workspace.
|
|
21
|
+
2. Edit documents in mdwrk.
|
|
22
|
+
3. Review changes before pushing.
|
|
23
|
+
4. Push intentionally when the local draft is ready to leave the browser.
|
|
24
|
+
|
|
25
|
+
## Privacy Boundary
|
|
26
|
+
Mdwrk does not need a backend server for normal editing. Content stays on the device unless you choose to sync, export, or otherwise send it somewhere else.
|
|
27
|
+
|
|
28
|
+
## Operational Notes
|
|
29
|
+
For production deployments, keep GitHub links current through `VITE_GITHUB_REPO_URL`. The public lander currently points to:
|
|
30
|
+
|
|
31
|
+
```text
|
|
32
|
+
https://github.com/groupsum/mdwrk
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Quick Reference
|
|
36
|
+
|
|
37
|
+
Use this article to understand GitHub Sync in the MdWrk Integrations surface. GitHub Sync explains how this MdWrk surface works in the current client and package system.
|
|
38
|
+
|
|
39
|
+
Key concepts covered here:
|
|
40
|
+
|
|
41
|
+
- local Markdown files
|
|
42
|
+
- workspace organization
|
|
43
|
+
- developer package reuse
|
|
44
|
+
|
|
45
|
+
Useful follow-up pages:
|
|
46
|
+
|
|
47
|
+
- [Privacy-First Markdown Editor](/features/privacy-first-markdown-editor)
|
|
48
|
+
- [Local-First Markdown Workspace](/features/local-first-markdown-workspace)
|
|
49
|
+
- [GitHub Sync](/docs/github-sync)
|
|
50
|
+
|
|
51
|
+
GitHub sync is optional. The MdWrk client stays fully local until you connect a repository.
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Desktop App Boundary
|
|
3
|
+
slug: product/desktop-app-boundary
|
|
4
|
+
section: Features
|
|
5
|
+
sectionOrder: 2
|
|
6
|
+
order: 16
|
|
7
|
+
toc: true
|
|
8
|
+
date: 2026-05-06
|
|
9
|
+
status: published
|
|
10
|
+
author: CobyCloud
|
|
11
|
+
displayAuthor: false
|
|
12
|
+
excerpt: The desktop app boundary explains how MdWrk separates the browser workspace, Electron shell, preload bridge, and host filesystem access.
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Boundary Summary
|
|
16
|
+
|
|
17
|
+
The MdWrk desktop app packages the same client workspace behind a native shell. The client remains the authoring surface, while the desktop shell owns host-only responsibilities such as native windows, file-open handoff, folder selection, and build targets.
|
|
18
|
+
|
|
19
|
+
The boundary is visible in the repository:
|
|
20
|
+
|
|
21
|
+
- `apps/client` owns the browser workspace experience.
|
|
22
|
+
- `apps/desktop` owns Electron and native shell packaging.
|
|
23
|
+
- `apps/desktop/src/preload.ts` exposes the narrow host bridge.
|
|
24
|
+
- `apps/desktop/src/main.ts` owns native process behavior.
|
|
25
|
+
|
|
26
|
+
## What Belongs In The Client
|
|
27
|
+
|
|
28
|
+
The client owns Markdown editing, preview, settings, extension hosting, PWA version state, project selection, and browser-backed persistence. Code that can run in a normal web runtime should stay in the client or reusable packages.
|
|
29
|
+
|
|
30
|
+
## What Belongs In The Desktop Shell
|
|
31
|
+
|
|
32
|
+
The desktop shell owns native capabilities that the web runtime cannot provide directly:
|
|
33
|
+
|
|
34
|
+
- opening Markdown files from the operating system
|
|
35
|
+
- mounting a desktop folder as a workspace source
|
|
36
|
+
- packaging Windows, Linux, macOS, and Android targets
|
|
37
|
+
- exposing host APIs through the preload bridge
|
|
38
|
+
|
|
39
|
+
Desktop features should cross into the client through explicit bridge methods instead of importing native modules into client code.
|
|
40
|
+
|
|
41
|
+
## Operator Commands
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
npm run build:desktop
|
|
45
|
+
npm run build:desktop:dist
|
|
46
|
+
npm run build:desktop:win
|
|
47
|
+
npm run build:desktop:linux
|
|
48
|
+
npm run build:desktop:mac
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
The release scripts under `tools/ci` select the desktop or Android build path from the same workspace package graph.
|
|
52
|
+
|
|
53
|
+
## Related Docs
|
|
54
|
+
|
|
55
|
+
- [PWA Installation](/docs/getting-started/pwa-installation)
|
|
56
|
+
- [Local-First Markdown Workspace](/features/local-first-markdown-workspace)
|
|
57
|
+
- [Extension Platform](/docs/extensions/extension-platform)
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Developer Documentation
|
|
3
|
+
slug: product/developer-documentation
|
|
4
|
+
section: Features
|
|
5
|
+
sectionOrder: 2
|
|
6
|
+
order: 17
|
|
7
|
+
toc: true
|
|
8
|
+
date: 2026-05-03
|
|
9
|
+
status: published
|
|
10
|
+
author: CobyCloud
|
|
11
|
+
displayAuthor: false
|
|
12
|
+
excerpt: MdWrk developer documentation covers local setup, standalone packages, editor and renderer modules, extension authoring, theme packs, language packs, and package-level adoption paths.
|
|
13
|
+
relatedApis: @mdwrk/mdwrkspace, @mdwrk/markdown-editor-react, @mdwrk/markdown-renderer-react, @mdwrk/extension-host
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Developer Entry Points
|
|
17
|
+
|
|
18
|
+
Start with installation for adoption choices, local setup for repository work, standalone modules for embedding, and authoring docs for extensions, themes, and language packs.
|
|
19
|
+
|
|
20
|
+
## Package Families
|
|
21
|
+
|
|
22
|
+
The primary package families cover the client, editor, renderer, extension contracts, extension runtime, shared tokens, icons, i18n, and testing helpers.
|
|
23
|
+
|
|
24
|
+
## Implementation Workflow
|
|
25
|
+
|
|
26
|
+
Developers can run the repo locally, build package families, embed split editor and renderer packages, or author governed extensions that run in the MdWrk host.
|
|
27
|
+
|
|
28
|
+
## Related Docs
|
|
29
|
+
|
|
30
|
+
- [Local Setup](/docs/getting-started/local-setup)
|
|
31
|
+
- [Standalone Modules](/docs/getting-started/standalone-modules)
|
|
32
|
+
- [Authoring Overview](/docs/authoring/overview)
|
|
33
|
+
|
|
34
|
+
## Quick Reference
|
|
35
|
+
|
|
36
|
+
Use this article to understand Developer Documentation in the MdWrk Product surface. MdWrk developer documentation covers local setup, standalone packages, editor and renderer modules, extension authoring, theme packs, language packs, and package-level adoption paths.
|
|
37
|
+
|
|
38
|
+
Key concepts covered here:
|
|
39
|
+
|
|
40
|
+
- local Markdown files
|
|
41
|
+
- workspace organization
|
|
42
|
+
- extension host contracts
|
|
43
|
+
- theme portability
|
|
44
|
+
- developer package reuse
|
|
45
|
+
|
|
46
|
+
Useful follow-up pages:
|
|
47
|
+
|
|
48
|
+
- [Local-First Markdown Workspace](/features/local-first-markdown-workspace)
|
|
49
|
+
- [Editor Basics](/features/editor-basics)
|
|
50
|
+
- [Extension Platform](/docs/extensions/extension-platform)
|
|
51
|
+
|
|
52
|
+
MdWrk documents both the full workspace client and the reusable package stack behind it.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Extension Host
|
|
3
|
+
slug: product/extension-host
|
|
4
|
+
section: Features
|
|
5
|
+
sectionOrder: 2
|
|
6
|
+
order: 15
|
|
7
|
+
toc: true
|
|
8
|
+
date: 2026-05-03
|
|
9
|
+
status: published
|
|
10
|
+
author: CobyCloud
|
|
11
|
+
displayAuthor: false
|
|
12
|
+
excerpt: MdWrk includes a governed extension host with manifest, runtime, capability, trust, settings, command, view, diagnostics, theme, and language-pack surfaces.
|
|
13
|
+
relatedApis: @mdwrk/extension-host, @mdwrk/extension-runtime, @mdwrk/extension-manifest, @mdwrk/extension-manager
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Host Contract
|
|
17
|
+
|
|
18
|
+
The host exposes stable lifecycle and context contracts through extension packages. Extensions register commands, views, settings, and contributions through governed adapters instead of patching the client directly.
|
|
19
|
+
|
|
20
|
+
## Runtime Controls
|
|
21
|
+
|
|
22
|
+
The runtime handles activation, compatibility, persisted state, diagnostics, and trust policy enforcement. The manager extension gives users a visible operator console for installed extension behavior.
|
|
23
|
+
|
|
24
|
+
## First-Party Extensions
|
|
25
|
+
|
|
26
|
+
Current bundled surfaces include Extension Manager, Theme Studio, Language Pack Studio, Gemini Agent, Workspace Files, Git Operations, and catalog examples.
|
|
27
|
+
|
|
28
|
+
## Related Docs
|
|
29
|
+
|
|
30
|
+
- [Extension Platform](/docs/extensions/extension-platform)
|
|
31
|
+
- [Extension Authoring](/docs/authoring/extensions)
|
|
32
|
+
- [Theme Packs](/features/theme-packs)
|
|
33
|
+
|
|
34
|
+
## Quick Reference
|
|
35
|
+
|
|
36
|
+
Use this article to understand Extension Host in the MdWrk Product surface. MdWrk includes a governed extension host with manifest, runtime, capability, trust, settings, command, view, diagnostics, theme, and language-pack surfaces.
|
|
37
|
+
|
|
38
|
+
Key concepts covered here:
|
|
39
|
+
|
|
40
|
+
- workspace organization
|
|
41
|
+
- extension host contracts
|
|
42
|
+
- theme portability
|
|
43
|
+
- developer package reuse
|
|
44
|
+
- @mdwrk/extension-host
|
|
45
|
+
|
|
46
|
+
Useful follow-up pages:
|
|
47
|
+
|
|
48
|
+
- [Local-First Markdown Workspace](/features/local-first-markdown-workspace)
|
|
49
|
+
- [Extension Platform](/docs/extensions/extension-platform)
|
|
50
|
+
- [Theme Packs](/features/theme-packs)
|
|
51
|
+
|
|
52
|
+
The MdWrk client is the extension host for bundled and installable extension surfaces.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Local-First Markdown Workspace
|
|
3
|
+
slug: product/local-first-markdown-workspace
|
|
4
|
+
section: Features
|
|
5
|
+
sectionOrder: 2
|
|
6
|
+
order: 11
|
|
7
|
+
toc: true
|
|
8
|
+
date: 2026-05-03
|
|
9
|
+
status: published
|
|
10
|
+
author: CobyCloud
|
|
11
|
+
displayAuthor: false
|
|
12
|
+
excerpt: MdWrk is a local-first Markdown workspace for projects, folders, files, preview links, themes, and extensions that should remain usable without forcing a cloud document model.
|
|
13
|
+
relatedApis: @mdwrk/mdwrkspace, @mdwrk/extension-workspace-files, @mdwrk/extension-git-ops
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Workspace Shape
|
|
17
|
+
|
|
18
|
+
The client presents projects, files, folders, editor panes, preview panes, settings, and extension surfaces inside one shell. Browser-managed storage is the default persistence layer, and desktop-backed file workflows can add host filesystem behavior where the shell supports it.
|
|
19
|
+
|
|
20
|
+
## Project Operations
|
|
21
|
+
|
|
22
|
+
Workspace operations include creating, renaming, deleting, and switching Markdown entries. Preview links can resolve against the current workspace so document sets can behave like connected knowledge and documentation projects.
|
|
23
|
+
|
|
24
|
+
## Extension Surface
|
|
25
|
+
|
|
26
|
+
Extensions can add managed views and commands without replacing the local-first editing model. Workspace Files and Git Operations are examples of package-ready surfaces for file-aware and repository-aware workflows.
|
|
27
|
+
|
|
28
|
+
## Related Docs
|
|
29
|
+
|
|
30
|
+
- [Local Setup](/docs/getting-started/local-setup)
|
|
31
|
+
- [Extension Platform](/docs/extensions/extension-platform)
|
|
32
|
+
- [GitHub Sync](/docs/github-sync)
|
|
33
|
+
|
|
34
|
+
## Quick Reference
|
|
35
|
+
|
|
36
|
+
Use this article to understand Local-First Markdown Workspace in the MdWrk Product surface. MdWrk is a local-first Markdown workspace for projects, folders, files, preview links, themes, and extensions that should remain usable without forcing a cloud document model.
|
|
37
|
+
|
|
38
|
+
Key concepts covered here:
|
|
39
|
+
|
|
40
|
+
- local Markdown files
|
|
41
|
+
- live preview
|
|
42
|
+
- workspace organization
|
|
43
|
+
- privacy-first storage
|
|
44
|
+
- extension host contracts
|
|
45
|
+
|
|
46
|
+
Useful follow-up pages:
|
|
47
|
+
|
|
48
|
+
- [Local-First Markdown Workspace](/features/local-first-markdown-workspace)
|
|
49
|
+
- [Markdown Preview Editor](/features/markdown-preview-editor)
|
|
50
|
+
- [Editor Basics](/features/editor-basics)
|
|
51
|
+
|
|
52
|
+
MdWrk treats Markdown as a workspace, not a single textarea.
|