MCPcopy
hub / github.com/marktext/marktext

github.com/marktext/marktext @v0.19.1 sqlite

repository ↗ · DeepWiki ↗ · release v0.19.1 ↗
3,443 symbols 10,515 edges 713 files 199 documented · 6%
README

MarkText

MarkText

twitter

:high_brightness: Next generation markdown editor :crescent_moon:

A simple and elegant open-source markdown editor that focused on speed and usability.

Available for Linux, macOS and Windows.

LICENSE

total download

latest download

sponsors

Website | Features | Downloads | Development | Contribution

Translations: :cn: :taiwan: :jp: :fr: :tr: :es: :portugal: :kr:

This Markdown editor that could. Built with ❤︎ by Jocs and contributors .

Sponsors

MarkText is an open-source Markdown editor powered by the support of its community. If MarkText improves your workflow, please consider sponsoring the project. Thank you to all the sponsors ❤️

Special Sponsor

Scrape Google and other search engines from our fast, easy, and complete API.

Screenshot

Features

  • Realtime preview (WYSIWYG) and a clean and simple interface to get a distraction-free writing experience.
  • Support CommonMark Spec, GitHub Flavored Markdown Spec and selective support Pandoc markdown.
  • Markdown extensions such as math expressions (KaTeX), front matter and emojis.
  • Support paragraphs and inline style shortcuts to improve your writing efficiency.
  • Output HTML and PDF files.
  • Various themes: Cadmium Light, Material Dark etc.
  • Various editing modes: Source Code mode, Typewriter mode, Focus mode.
  • Paste images directly from clipboard.

Download and Installation

platform

Download for macOS Download for Windows Download for Linux

Want to see new features of the latest version? Please refer to CHANGELOG.

macOS

Requires macOS 11 (Big Sur) or later. Universal builds aren't published — pick the matching arm64 or x64 installer.

You can either download the latest marktext-mac-(arm64|x64)-%version%.dmg from the release page or install MarkText using homebrew cask. To use Homebrew-Cask you just need to have Homebrew installed.

brew install --cask mark-text

Windows

Requires Windows 10 or 11. Both x64 and arm64 installers are published — pick the architecture that matches your machine.

Simply download and install MarkText via the setup wizard (marktext-win-(x64|arm64)-%version%-setup.exe) and choose whether to install per-user or machine wide. Alternatively, install MarkText using a package manager such as Chocolatey or Winget.

To use Chocolatey, you need to have Chocolatey installed:

choco install marktext

To use Winget, you need to have Winget installed:

winget install marktext

Linux

Please follow the Linux installation instructions.

Other

All binaries for Linux, macOS and Windows can be downloaded from the release page. If a version is unavailable for your system, then please open an issue.

Development

If you wish to build MarkText yourself, please check out our build instructions.

If you have any questions regarding MarkText, you are welcome to write an issue. When doing so please use the default format found when opening an issue. Of course, if you submit a PR directly, it will be greatly appreciated.

Contribution

MarkText is in development, please make sure to read the Contributing Guide before making a pull request. Want to add some features to MarkText? Refer to our roadmap and open issues.

Contributors

Thank you to all the people who have already contributed to MarkText[contributors].

License

MIT.

Extension points exported contracts — how you extend this code

PreferenceLike (Interface)
(no doc) [3 implementers]
packages/desktop/src/main/windows/base.ts
IState (Interface)
* Image state interface containing source, alt text and title
packages/muya/src/ui/imageEditTool/index.ts
PreferenceLike (Interface)
(no doc) [3 implementers]
packages/desktop/src/main/app/windowManager.ts
IStyleCase (Interface)
* Frontmatter has four delimiter styles, each round-tripped by * serializeFrontMatter in `state/stateToMarkdown.ts`: *
packages/muya/e2e/tests/blocks/frontmatter.spec.ts
AppMenuLike (Interface)
(no doc) [1 implementers]
packages/desktop/src/main/app/windowManager.ts
ITagCase (Interface)
* Inline HTML tags (` `, ` `, ` `, ` `, ` `) render via * `inlineRenderer/renderer/htmlTag.ts`: eac
packages/muya/e2e/tests/blocks/html-inline.spec.ts
EditorBufferStoreLike (Interface)
(no doc) [1 implementers]
packages/desktop/src/main/app/windowManager.ts
ILinkedNode (Interface)
(no doc) [1 implementers]
packages/muya/src/block/base/linkedList/linkedNode.ts

Core symbols most depended-on inside this repo

push
called by 555
packages/muyajs/lib/contentState/history.js
h
called by 403
packages/muyajs/lib/assets/libs/snap.svg-min.js
on
called by 306
packages/desktop/src/types/global.d.ts
appendChild
called by 284
packages/muyajs/lib/contentState/index.js
add
called by 234
packages/desktop/src/main/app/windowManager.ts
emit
called by 218
packages/muya/src/event/index.ts
join
called by 208
packages/desktop/src/types/global.d.ts
map
called by 200
packages/muya/src/block/base/parent.ts

Shape

Function 1,530
Method 1,280
Interface 335
Class 296
Enum 2

Languages

TypeScript100%

Modules by API surface

packages/desktop/src/renderer/src/store/editor.ts96 symbols
packages/desktop/src/types/global.d.ts81 symbols
packages/muyajs/lib/contentState/index.js61 symbols
packages/muyajs/lib/index.js55 symbols
packages/muya/src/state/types.ts50 symbols
packages/muyajs/lib/assets/libs/snap.svg-min.js43 symbols
packages/muya/src/utils/index.ts40 symbols
packages/muya/src/block/base/format.ts39 symbols
packages/desktop/src/main/app/windowManager.ts36 symbols
packages/muyajs/lib/utils/index.js35 symbols
packages/desktop/src/renderer/src/util/themeColor.ts32 symbols
packages/desktop/src/main/menu/actions/file.ts32 symbols

Dependencies from manifests, versioned

@antfu/eslint-config9.0.0 · 1×
@babel/eslint-parser7.28.6 · 1×
@electron-toolkit/preload3.0.2 · 1×
@electron-toolkit/utils4.0.0 · 1×
@electron/rebuild4.0.4 · 1×
@element-plus/icons-vue2.3.2 · 1×
@eslint/eslintrc3.2.0 · 1×
@floating-ui/dom1.7.6 · 1×
@hfelix/electron-localshortcut4.0.1 · 1×
@laynezh/vite-plugin-lib-assets2.1.3 · 1×
@marktext/file-icons1.0.4 · 1×

For agents

$ claude mcp add marktext \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact