id = "macdown" name = "MacDown" homepage = "https://macdown.uranusjr.com" description = "The open source Markdown editor for macOS." # The app icon, from the asset catalog in the project's repository. icon = "https://raw.githubusercontent.com/MacDownApp/macdown/master/MacDown/Images.xcassets/AppIcon.appiconset/icon_128x128.png" # MacDown installs a command-line helper: the Homebrew cask stanza is # `binary "$APPDIR/MacDown.app/Contents/SharedSupport/bin/macdown"`, linked into # the Homebrew prefix as `macdown` # (https://formulae.brew.sh/api/cask/macdown.json). The app's bundle identifier # is com.uranusjr.macdown, which the same cask uses for its preferences and # caches; the binary wins here. executables = ["macdown"] platforms = ["macos"] [dotfiles] # Two user-level locations, both named by the cask's `zap trash:` list: # ~/Library/Preferences/com.uranusjr.macdown.plist and # ~/Library/Application Support/MacDown. # # The support directory is built in MacDown/Code/Utility/MPUtilities.m — # MPDataRootDirectory() joins NSApplicationSupportDirectory with the bundle's # CFBundleName, i.e. "MacDown" — and MPUtilities.m names the three # subdirectories it keeps there: kMPStylesDirectoryName = @"Styles" (.css), # kMPThemesDirectoryName = @"Themes" (.style syntax-highlighting themes) and # kMPPlugInsDirectoryName = @"PlugIns" (.plugin bundles). The first two are # stylesheets the user wrote or downloaded; the third is loadable code. paths = [ "[preferences]/com.uranusjr.macdown.plist", "[appData]/MacDown/", ] # PlugIns holds compiled .plugin bundles (MPUtilities.m, # kMPPlugInFileExtension = @"plugin") — binaries, not configuration, and not # something to copy between machines. exclude = [ "[appData]/MacDown/PlugIns/", ] # The preferences domain is editor and rendering options; Styles and Themes are # CSS the user keeps. MacDown has no account and stores no credential. secret = [] # No machine_lines: this is a plist plus stylesheets, and `match` reads only # line-oriented files, TOML, YAML and JSON. What the domain holds — editor font, # Markdown extension toggles, the chosen style and theme — is what a user wants # on the next Mac.