Skip to content

Add rendered Markdown preview#1

Draft
mikhutchinson wants to merge 1 commit into
robzilla1738:mainfrom
mikhutchinson:siriusmarkdown-preview
Draft

Add rendered Markdown preview#1
mikhutchinson wants to merge 1 commit into
robzilla1738:mainfrom
mikhutchinson:siriusmarkdown-preview

Conversation

@mikhutchinson

@mikhutchinson mikhutchinson commented Jun 4, 2026

Copy link
Copy Markdown

Summary

  • Adds SiriusMarkdown 0.5.4 as an Xcode package dependency.
  • Adds an Edit / Preview mode switch for Markdown files in the skill detail pane.
  • Renders preview content through MarkdownRenderSession and MarkdownDocumentView with a Skillz-matched document theme.
  • Strips SKILL.md frontmatter from the rendered preview while leaving Edit mode unchanged.

Notes

  • Edit mode and autosave behavior stay unchanged.
  • Preview updates are debounced and prepared outside SwiftUI body evaluation.
  • Screenshots were captured only under an isolated temporary home/defaults environment.

Validation

  • xcodebuild -resolvePackageDependencies -project skillz/skillz.xcodeproj -scheme skillz
  • xcodebuild -scheme skillz -destination 'platform=macOS' CODE_SIGNING_ALLOWED=NO build
  • xcodebuild -scheme skillz -destination 'platform=macOS' -only-testing:skillzTests CODE_SIGNING_ALLOWED=NO test
  • 49 unit tests passed

@mikhutchinson mikhutchinson force-pushed the siriusmarkdown-preview branch from 4343773 to 2cee57e Compare June 4, 2026 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant