All Projects β†’ qeude β†’ SwiftDown

qeude / SwiftDown

Licence: MIT license
πŸ“¦ A themable markdown editor component for your SwiftUI apps.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to SwiftDown

column-text-view-ui
πŸ“„ Column Text View is an adaptive UI component that renders text in columns, horizontally [iOS 12, UIKit, TextKit, SwiftUI].
Stars: ✭ 11 (-94.58%)
Mutual labels:  swift-package-manager, spm, swiftui
Hippolyte
HTTP Stubbing in Swift
Stars: ✭ 109 (-46.31%)
Mutual labels:  swift-package-manager, spm
CurrencyText
Currency text field formatter available for UIKit and SwiftUI πŸ’ΆβœοΈ
Stars: ✭ 124 (-38.92%)
Mutual labels:  swift-package-manager, swiftui
Sketchkit
A lightweight auto-layout DSL library for iOS & tvOS.
Stars: ✭ 40 (-80.3%)
Mutual labels:  swift-package-manager, spm
FitDataProtocol
Swift Implementation the Garmin Flexible and Interoperable Data Transfer Protocol.
Stars: ✭ 32 (-84.24%)
Mutual labels:  swift-package-manager, spm
concurrency-kit
πŸš„ Concurrency abstractions framework for Apple Platforms [Task, Atomic, Lock, Operation, etc.].
Stars: ✭ 17 (-91.63%)
Mutual labels:  swift-package-manager, spm
CSV
A simple CSV file parser and serializer
Stars: ✭ 31 (-84.73%)
Mutual labels:  swift-package-manager, spm
Table
CLI tables in Swift
Stars: ✭ 53 (-73.89%)
Mutual labels:  swift-package-manager, spm
SupportEmail
Pre-populates emails with support information in iOS/iPadOS apps
Stars: ✭ 20 (-90.15%)
Mutual labels:  swift-package-manager, spm
Flexcolorpicker
Modern color picker library written in Swift 5 that can be easily extended and customized. It aims to provide great UX and performance with stable, quality code.
Stars: ✭ 164 (-19.21%)
Mutual labels:  swift-package-manager, spm
TVToday
iOS TV Shows app with TMDb Api. RxSwift, MVVM, Clean Architecture. Tuist + Swift Package Manager
Stars: ✭ 27 (-86.7%)
Mutual labels:  swift-package-manager, spm
extensions-kit
πŸ“¦ Collection of Swift+Apple Frameworks extensions for speeding up software development [iOS & iPadOS].
Stars: ✭ 71 (-65.02%)
Mutual labels:  swift-package-manager, spm
Laden
SwiftUI loading indicator view
Stars: ✭ 23 (-88.67%)
Mutual labels:  swift-package-manager, swiftui
xcframework-maker
macOS utility for converting fat-frameworks to SPM-compatible XCFramework with arm64-simulator support
Stars: ✭ 239 (+17.73%)
Mutual labels:  swift-package-manager, spm
tapit-app
App which lets two people share their social media details by simply putting one phone on top of the other ("tapping"). Currently in development by Nikita Mounier.
Stars: ✭ 18 (-91.13%)
Mutual labels:  swift-package-manager, swiftui
Swiftuix
Extensions and additions to the standard SwiftUI library.
Stars: ✭ 4,087 (+1913.3%)
Mutual labels:  swift-package-manager, swiftui
Ether
A Command-Line Interface for the Swift Package Manager
Stars: ✭ 86 (-57.64%)
Mutual labels:  swift-package-manager, spm
Shift
Light-weight EventKit wrapper.
Stars: ✭ 31 (-84.73%)
Mutual labels:  swift-package-manager, swiftui
Expandable Collection View Kit
πŸ—‚ Expandable, hierarchical, flexible, declarative UICollectionView with diffable data sources & SwiftUI-like tree items builder [Swift 5.1, iOS & iPadOS 13].
Stars: ✭ 69 (-66.01%)
Mutual labels:  swift-package-manager, spm
Aksidemenu
Beautiful iOS side menu library with parallax effect. Written in Swift
Stars: ✭ 216 (+6.4%)
Mutual labels:  swift-package-manager, spm

SwiftDown

codecov

πŸ“– Description

A markdown editor component for your SwiftUI apps.

  • πŸŽ‰ Live preview directly in editor for most of Markdown elements, without web based preview.
  • ⚑️ Fast, built on top of cmark.
  • πŸ—’ Pure markdown, no proprietary format.
  • πŸ’»:πŸ“± macOS and iOS support.

πŸ› οΈ Install

πŸ“¦ Swift Package Manager

Either use Xcode to add the package dependency or add the following dependency to your Package.swift:

.package(url: "https://github.com/qeude/SwiftDown.git", from: "0.3.0"),

πŸ”§ Usage

import SwiftDown
import SwiftUI

struct ContentView: View {
    @State private var text: String = ""

    var body: some View {
        SwiftDownEditor(text: $text)
            .insetsSize(40)
            .theme(Theme.BuiltIn.defaultDark.theme())
    }
}

πŸ–ŒοΈ Themes

πŸ–Ό BuildIn themes

Default Dark

Default Light

πŸ§‘β€πŸŽ¨ Custom themes

SwiftDown supports theming by using config .json files as this one Then init your custom theme as below.

Theme(themePath: Bundle.main.path(forResource: "my-custom-theme", ofType: "json"))

πŸ‘¨πŸ»β€πŸ’» Author

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].