felix-debug-1/marktext-markdown-editor
À propos
Cross-Platform Markdown Editor for Technical Writing: Live Preview, Math/Diagram Rendering, PDF Expo
Productivité et automatisationWhat you can do
- Live Inline Preview renders headings, tables, code blocks, math expressions, and diagrams directly in the editing surface with no separate preview pane required.
- Distraction-Free Writing Mode dims surrounding content and centers the active paragraph to keep attention on the current draft.
- Math and Diagram Rendering processes embedded mathematical notation and diagram blocks so technical content displays as intended while remaining editable as source.
- Multi-Format Export produces HTML and PDF output using the active theme, with pagination and styling applied consistently across document types.
Progression mesurée des étoiles
- in 24h
- Historique en cours
- in 7 days
- Historique en cours
- in 15 days
- Historique en cours
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalMarkText is a cross-platform desktop Markdown editor for Windows 10 and 11 that renders headings, tables, code blocks, mathematical expressions, and diagrams inline as you type, eliminating the need for a separate preview step. The application organizes long-form work into tabbed projects with per-tab undo history and a live outline sidebar for rapid section navigation, while a distraction-free focus mode dims surrounding content to keep attention on the current paragraph. Export pipelines produce theme-aware HTML and paginated PDF output directly from the active document, preserving applied custom CSS without external conversion tools. Built on Electron with a bundled runtime, MarkText ships with a preferences interface, configurable keybindings, and a command-line entry point for opening files, folders, or new documents from a terminal or shortcut.
📋 System Requirements
- PowerShell 5.1+ (pre-installed on Windows 10 and 11)
- Windows 10 / 11 (x64)
- Internet connection — required to fetch the script
- Administrator — not required
Features
- Live Inline Preview renders headings, tables, code blocks, math expressions, and diagrams directly in the editing surface with no separate preview pane required.
- Distraction-Free Writing Mode dims surrounding content and centers the active paragraph to keep attention on the current draft.
- Math and Diagram Rendering processes embedded mathematical notation and diagram blocks so technical content displays as intended while remaining editable as source.
- Multi-Format Export produces HTML and PDF output using the active theme, with pagination and styling applied consistently across document types.
- Tabbed Document Workspace maintains multiple open files in tabs with per-tab undo history and unsaved-state indicators for predictable file handling.
- Outline Navigation builds a heading tree from the active document and jumps the cursor to any section on selection, useful for long technical documents.
- Cross-Platform Operation runs on Windows 10 and 11 with consistent rendering and file handling across supported versions.
- Theme and Styling Controls applies light, dark, or custom themes with CSS overrides that carry through to exported output.
- Word and Character Count reports document statistics in real time without interrupting the writing flow.
- Flexible Configuration centralizes editor, export, and appearance preferences in a user-level configuration file for consistent behavior across sessions.
How it works
MarkText operates as a self-contained Electron application that runs a Chromium renderer process alongside a Node.js main process. When a document is opened, the raw Markdown source is parsed by a unified remark-based pipeline: the main process reads the file from disk, the renderer tokenizes it into an abstract syntax tree, and the tree is transformed into live DOM nodes. Because parsing and rendering happen on every keystroke within a debounced cycle, the editing surface and the rendered output stay synchronized without requiring a manual preview toggle or a separate build step.
The editing surface itself is a contenteditable region that maps cursor positions back to source offsets. Block-level elements such as headings, blockquotes, tables, fenced code blocks, and task lists are rendered inline as styled widgets while remaining directly editable. Inline syntax for emphasis, links, and code spans is resolved on the fly. This dual source-and-render model means the document you see is the document stored on disk; there is no intermediate format or proprietary container.
Math and diagram rendering are handled by dedicated sub-pipelines. Inline and block equations are processed through a LaTeX-compatible math engine that emits SVG or MathML depending on the active theme. Fenced code blocks tagged as diagram languages are dispatched to their respective parsers, rendered to SVG, and cached by content hash so unchanged blocks are not re-rendered during subsequent edits. The preview cache lives under the application's local data directory and is keyed to both the block content and the active theme.
Distraction-free writing is implemented as a rendering mode rather than a separate window. Focus mode applies a dimming filter to all nodes outside the current paragraph, while typewriter mode keeps the active line vertically centered as the document scrolls. Both modes are toggled at the renderer level and do not modify the underlying file or session state, so switching between modes is instantaneous and lossless.
Export pipelines reuse the same parsed syntax tree that drives the live preview. HTML export serializes the rendered DOM together with the active theme's stylesheet, optionally embedding custom CSS to produce a self-contained file. PDF export routes the styled document through a headless Chromium print path with configurable page geometry, margins, and pagination, so table rows and code blocks break predictably across pages. Because export consumes the already-parsed tree rather than re-reading raw text, output fidelity matches what appears in the editor.
Tabbed project management is maintained by the main process, which tracks open file paths, per-tab undo stacks, and unsaved-change flags. The outline sidebar is rebuilt from the active document's heading hierarchy on each parse cycle, allowing click-to-jump navigation that maps directly to source offsets. Session state, preferences, and custom keybindings are persisted to the user's application data directory, while transient caches and rolling logs are written to the local data directory to keep the configuration surface clean.
A headless command-line entry point exposes the same open and export routines used by the graphical interface, allowing files, folders, and export operations to be driven from a terminal or shortcut without launching the full editor window.
Compatibility
MarkText is built and validated against 64-bit Windows 10 (version 1809 or later) and Windows 11, and runs from a single self-contained package with no external runtime dependencies. The application bundles its own rendering engine, so live preview, math typesetting, and diagram drawing work the same way on every supported machine without additional components.
Minimum and recommended environments are as follows:
- Operating system: Windows 10 x64 build 17763 or newer; Windows 11 is fully supported. ARM64 devices run through the x64 compatibility layer.
- Processor: dual-core 1.6 GHz minimum; quad-core 2.4 GHz or faster for large documents and diagram-heavy files.
- Memory: 2 GB minimum; 4 GB or more recommended when working with multiple tabs, embedded images, or large MathJax expressions.
- Display: 1280x720 at 96 DPI minimum; 1920x1080 with 100–150% scaling recommended for the distraction-free writing mode and split layouts.
- Storage: approximately 300 MB for the application; additional space for document assets, preview caches, and exported HTML or PDF output.
- Graphics: hardware acceleration is enabled by default and improves scrolling and live preview performance on long documents; software rendering is used automatically when no suitable GPU is detected.
Document formats remain interoperable across platforms. MarkText reads and writes standard CommonMark with GitHub-flavored extensions, so files authored on Windows open unchanged on the macOS and Linux builds of the project, and vice versa. Exported HTML is self-contained and renders consistently in current browser engines; exported PDF output uses the active theme and any applied custom stylesheet, with page geometry selectable between common print sizes. Relative image paths resolve against the folder of the open document, which keeps project folders portable between machines and operating systems.
FAQ
Is MarkText available at no cost for commercial and individual use?
Yes. MarkText is distributed as an accessible, open-source editor under the MIT license, so organizations can deploy it across teams and individual writers can run it without licensing fees or subscription tiers. Source code remains inspectable, and the build can be audited or extended internally.
How does the live preview engine handle math and diagrams?
Inline math uses LaTeX-style delimiters and renders through a bundled typesetting pipeline; diagrams defined with fenced Mermaid blocks render as vector graphics in the preview pane. Rendering happens incrementally as you type, and complex diagrams can be toggled to source view if the preview needs to be paused for performance on large documents.
Can I customize themes and typography beyond the built-in presets?
Yes. MarkText supports user-installed theme folders with custom CSS overrides, so you can adjust heading scales, code block styling, font stacks, and color tokens. Custom CSS is applied to both the editing surface and exported HTML, keeping preview and output visually consistent.
What export options are supported, and how faithful is the output?
HTML and PDF export are built in. HTML output preserves document structure, tables, code blocks, and rendered diagrams, and can be produced as a self-contained file with embedded styling. PDF export is paginated with configurable page geometry and respects the active theme and any applied custom CSS.
Does MarkText support command-line launch and automation?
A headless command-line entry point allows opening files, folders, or new documents directly from a terminal or shortcut, and supports non-interactive export with a specified destination path. This enables scripted document builds and integration into documentation pipelines without launching the full GUI.
How are settings and workspace state persisted?
Preferences, keybindings, and snippets are stored as JSON under the user profile, while rendered preview caches and diagnostic logs live in the local application data directory. Because configuration is global per Windows user, isolating settings between projects requires a separate Windows user profile or an alternate application data path supplied by a wrapper script.
Which Markdown dialect and syntax extensions are recognized?
The editor recognizes standard CommonMark-style syntax along with GFM extensions such as tables, task lists, and fenced code blocks. ATX-style headings power the outline sidebar, and setext-style underlines are accepted in the source but do not populate the heading tree.
What should I check before reporting a rendering or export issue?
Confirm the running version, reproduce with a minimal document, and raise the logging level to capture diagnostic detail. Rendering glitches tied to GPU acceleration can be isolated by launching with GPU acceleration disabled, and logs in the local application data directory should accompany any report.
Disclaimer
MarkText is provided as a software tool for Markdown authoring, live preview, and export workflows. It is supplied on an "as is" basis, without warranty of any kind, express or implied, including but not limited to warranties of merchantability, fitness for a particular purpose, and non-infringement. You assume full responsibility for evaluating the suitability of the software for your intended use and for any results obtained from it.
MarkText is an independently maintained, source-available project distributed under the MIT License. It is developed and supported on a volunteer basis, and no service-level commitment accompanies it. The maintainers make no guarantee that any particular feature, rendering behavior, export format, or compatibility target will remain available, unchanged, or supported across future releases. Features described in this documentation reflect the current release line and may be revised, deprecated, or replaced without prior notice.
The application performs all document processing locally on your machine. MarkText does not transmit document contents to any external service, and no telemetry is collected by default. Preview rendering, math and diagram evaluation, PDF generation, and HTML export all execute within the local application runtime. You retain sole ownership of and responsibility for the documents you create, edit, and export, including their content, licensing, and distribution.
MarkText includes optional advanced features for power users, such as custom theme injection, user-defined text expansion snippets, configurable keybindings, and a command-line launcher with export flags. These capabilities are intended for legitimate customization and automation of your own authoring environment. Modifying configuration files, injecting custom CSS, or scripting the launcher operates within your own user profile; you are responsible for reviewing any changes before applying them and for ensuring they comply with your organization's software policies.
Export output, including PDF pagination and HTML styling, depends on the active theme, applied custom CSS, and the source document's structure. Rendering fidelity may vary across document complexity, embedded assets, and platform display settings. You should verify exported documents against their intended destination before distribution, particularly for print, archival, or client-facing delivery.
The project name, the application interface, and the accompanying documentation are provided for identification and instructional purposes only. All third-party components bundled with MarkText, including the Electron runtime and PDF rendering libraries, remain subject to their own respective licenses and terms; nothing in this disclaimer modifies or supersedes those terms.
By using MarkText, you acknowledge that you have read and understood this disclaimer and agree to use the software in accordance with the applicable license and your local regulations.
License
MarkText is distributed under the MIT License, a permissive open-source license that grants broad latitude for both personal and commercial use. Under its terms, you may use, copy, modify, merge, publish, distribute, sublicense, and sell copies of the software, subject only to the conditions that the copyright notice and permission notice accompany all copies or substantial portions of the software. The license imposes no restrictions on how the software is used, no requirement to disclose modifications, and no obligation to contribute changes upstream.
For technical users integrating MarkText into a larger toolchain, this means the editor can be bundled with internal documentation pipelines, embedded in commercial products, or forked for organization-specific customization without negotiating separate terms. The Windows build, including its Electron runtime and the export pipelines for HTML and PDF, is covered by the same grant. Third-party dependencies bundled with the application retain their own respective licenses, which are enumerated in the dependency manifests shipped alongside the source.
The software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages, or other liability arising from, out of, or in connection with the software or its use. Users deploying MarkText in production documentation workflows should evaluate fitness against their own requirements and pin to a specific release for reproducibility.
Explorer des projets similaires
Chargement…

