GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - LPFchan/Markfops: A lightweight native macOS Markdown editor written in Swift.

BranchesTags
Open more actions menu

Latest commit

 

History

196 Commits
196 Commits

Folders and files

NameName
Last commit message
Last commit date
.githooks
.githooks
 
 
.github
.github
 
 
Markfops.xcodeproj
Markfops.xcodeproj
 
 
Markfops
Markfops
 
 
MarkfopsTests
MarkfopsTests
 
 
Packaging
Packaging
 
 
docs
docs
 
 
records
records
 
 
scripts
scripts
 
 
skills
skills
 
 
spikes
spikes
 
 
.gitignore
.gitignore
 
 
.gitmessage.markfops
.gitmessage.markfops
 
 
AGENTS.md
AGENTS.md
 
 
CLAUDE.md
CLAUDE.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
project.yml
project.yml
 
 
sync.log
sync.log
 
 

Repository files navigation

Markfops

Markfops

A fast, native macOS Markdown editor and reader.
No Electron — just Swift, SwiftUI, and AppKit.

Screen.Recording.2026-08-26.at.23.06.54.mp4

Install

  1. Download the latest .dmg from Releases
  2. Open it and drag Markfops into Applications
  3. First launch: macOS will warn that the app is unidentified. Open System Settings → Privacy & Security, scroll down, and click Open Anyway

Requires macOS 14 (Sonoma) or later. Markfops checks for its own updates from then on.

What it does

  • Real Markdown — full GitHub Flavored Markdown: tables, task lists, strikethrough, fenced code, autolinks
  • Edit or preview any tab with ⌘⇧P, with syntax highlighting while you write
  • Tabs and windows that behave like macOS expects — drag tabs between windows, or tear one off into its own
  • Sidebar with table of contents — expand any document to jump straight to a heading
  • Your files stay yours — plain .md on disk, drag-and-drop to open, proxy icon in the title bar, PDF export
  • Light and dark preview that follows your system appearance
  • Four languages — English, 한국어, 日本語, 简体中文

Keyboard shortcuts

Action Action
New document ⌘N Find ⌘F
New tab ⌘T Find & Replace ⌘⌥F
New window ⌘⇧N Bold ⌘B
Open file ⌘O Italic ⌘I
Save ⌘S Inline code ⌘⌥K
Save As ⌘⇧S Undo / Redo ⌘Z / ⌘⇧Z
Close tab ⌘W Next / previous tab ⌘⇧] / ⌘⇧[
Toggle edit / preview ⌘⇧P Preferences ⌘,

Building from source

git clone https://github.com/LPFchan/Markfops.git
cd Markfops
xcodegen generate
open Markfops.xcodeproj   # then ⌘R

Needs Xcode 16+. The first build resolves Swift packages, so you'll want an internet connection.

Project layout and tech stack
Markfops/
├── App/           — Entry point, AppDelegate
├── Diagnostics/   — Instruments signposts for performance profiling
├── State/         — Document, DocumentStore, EditMode, HeadingNode
├── Views/         — SwiftUI views (sidebar, tab bar, editor container…)
├── Editor/        — NSTextView subclass + syntax highlighter
├── Renderer/      — cmark-gfm HTML renderer + HTML template
├── Parsing/       — Heading parser (TOC + favicon letter)
├── Commands/      — Keyboard shortcuts via CommandMenu
└── Resources/     — CSS stylesheets, asset catalog, localizations
Layer Technology
UI SwiftUI + AppKit bridging
Markdown parsing libcmark_gfm
Preview WKWebView + custom CSS
Editor NSTextView (TextKit 2) with a custom syntax highlighter
State @Observable
Tab ordering OrderedDictionary from swift-collections
Updates Sparkle 2
Profiling tab switches

The generated Markfops scheme profiles the Debug configuration so Instruments can load Sparkle under local ad-hoc signing. Archive builds use Release.

  1. Product → Profile, select Blank, click Choose
  2. Add the Points of Interest or os_signpost instrument with +
  3. Record, switch between large documents a few times, stop
  4. Filter the signpost track for the com.markfops.Markfops subsystem

The outer Tab Switch interval measures selection through the next main-loop turn after the native surface updates. Nested intervals separate document activation, editor creation or update, editor configuration, large-text comparison and synchronization, syntax highlighting, preview cache checks, Markdown rendering, preview loading, and preview DOM updates. Surface Selected also reports whether the tab was already warm.

License

MIT — see LICENSE.

About

A lightweight native macOS Markdown editor written in Swift.

Resources

Readme
MIT license
Activity

Stars

3 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.