This is bold test.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // EditDraftAppIntent.swift | |
| // Drafts | |
| // | |
| // Created by Greg Pierce on 2026-01-06. | |
| // Copyright © 2026 Agile Tortoise. All rights reserved. | |
| // | |
| import Foundation | |
| #if canImport(AppIntents) | |
| import AppIntents |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // create an object to inject | |
| struct AppIntentDependencyManager { | |
| func hello() {} | |
| // whatever methods you need.... | |
| } | |
| // in didFinishLaunching or similar inject your dependency like... | |
| if #available(iOS 16.0, *) { | |
| AppDependencyManager.shared.add(key: "AppIntentDependencyManager", dependency: AppIntentDependencyManager()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extension View { | |
| @ViewBuilder | |
| func widgetBackground<V>(@ViewBuilder content: () -> V) -> some View where V : View { | |
| if #available(macOSApplicationExtension 14.0, iOSApplicationExtension 17.0, *) { | |
| containerBackground(for: .widget) { | |
| content() | |
| } | |
| } else { | |
| background { | |
| content() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This **is bold** test. |
This is bold test.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <!-- | |
| Based on https://github.com/sindresorhus/github-markdown-css | |
| --> | |
| <head> | |
| <style> | |
| @font-face { | |
| font-family: octicons-link; | |
| src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAZwABAAAAAACFQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEU0lHAAAGaAAAAAgAAAAIAAAAAUdTVUIAAAZcAAAACgAAAAoAAQAAT1MvMgAAAyQAAABJAAAAYFYEU3RjbWFwAAADcAAAAEUAAACAAJThvmN2dCAAAATkAAAABAAAAAQAAAAAZnBnbQAAA7gAAACyAAABCUM+8IhnYXNwAAAGTAAAABAAAAAQABoAI2dseWYAAAFsAAABPAAAAZwcEq9taGVhZAAAAsgAAAA0AAAANgh4a91oaGVhAAADCAAAABoAAAAkCA8DRGhtdHgAAAL8AAAADAAAAAwGAACfbG9jYQAAAsAAAAAIAAAACABiATBtYXhwAAACqAAAABgAAAAgAA8ASm5hbWUAAAToAAABQgAAAlXu73sOcG9zdAAABiwAAAAeAAAAME3QpOBwcmVwAAAEbAAAAHYAAAB/aFGpk3jaTY6xa8JAGMW/O62BDi0tJLYQincXEypYIiGJjSgHniQ6umTsUEyLm5BV6NDBP8Tpts6F0v+k/0an2i+itHDw3v2+9+DBKTzsJNnWJNTgHEy4BgG3EMI9DCEDOGEXzDADU5hBKMIgNPZqoD3SilVaXZCER3/I7AtxEJLtzzuZfI+VVkprxTlXShWKb3TBecG11rwoNlmmn1P2WYcJczl32etSpKnziC7lQyWe1smVPy/Lt7Kc+0vWY/gAgIIEqAN9we0pwKXreiMasxvabDQMM4riO+qxM2ogwDGOZTXxwxDiycQIcoYFBLj5K3EIaSctAq2kTYiw+ymhce7vwM9jSqO8JyVd5RH9g |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "Markdown", | |
| "description": "Basic Markdown syntax based more closely on the original Markdown specification.", | |
| "scopeName": "text.markdown", | |
| "rangeExtension": "lineExtended", | |
| "listCompletion": "markdown", | |
| "fileExtensions": [ | |
| "markdown", | |
| "mkdown", | |
| "md", |
NewerOlder