Files
markdownViewr/Package.swift
Darin KelkhoffandClaude Opus 4.6 10004dc483 Initial commit: markdownViewr macOS markdown viewer
SwiftUI + WKWebView hybrid app for viewing markdown files with:
- 20 built-in color themes (Catppuccin, Dracula, Nord, Gruvbox, etc.)
- Full theme editor with live preview, custom CSS, and font selection
- File watching with live reload and scroll position preservation
- External editor integration with configurable app list
- Frontmatter display options (hide, metadata, raw markdown)
- Global custom CSS support
- Find in document (Cmd+F) with match count
- Theme cycling via Cmd+Shift+Up/Down
- Registered as .md file handler

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 13:56:40 -05:00

26 lines
582 B
Swift

// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "markdownViewr",
platforms: [
.macOS(.v13)
],
dependencies: [
.package(url: "https://github.com/apple/swift-markdown.git", from: "0.4.0")
],
targets: [
.executableTarget(
name: "markdownViewr",
dependencies: [
.product(name: "Markdown", package: "swift-markdown")
],
path: "markdownViewr",
resources: [
.process("Resources")
]
)
]
)