{"repo":"danielsaidi/TextReplacements","free":true,"listed":false,"github":"https://github.com/danielsaidi/TextReplacements","clone":"git clone https://github.com/danielsaidi/TextReplacements.git","description":"Customize any part of a SwiftUI Text.","language":"Swift","stars":103,"topics":["swiftui","text"],"license":"MIT","category":"mobile-apps","readme_excerpt":"TextReplacements TextReplacements is a SwiftUI library that extends the Text view with ways to customize any parts of its text. TextReplacements works on all major Apple platforms and is designed to be easy to use. Installation TextReplacements can be installed with the Swift Package Manager: Getting Started Text Replacements TextReplacements let you create a Text with one or multiple text replacements. For instance, the preview above was created like this: Since each text replacement must return a Text result, we can only apply view modifiers that return a Text . This brings some limitations, like not being able to apply a background color to individual components. Text Components TextReplacements lets you initialize a Text view with a collection of texts and links: The resulting text is rendered as Markdown, which makes it possible to use plain view modifiers to style the view. Documentation The online [documentation][Documentation] has more information, articles, code examples, etc. Demo Application This package will get a demo application once it gets more than 100 stars. Support My Work You can [become a sponsor][Sponsors] to help me dedicate more time on my various [open-source tools][OpenSource]. Every contribution, no matter the size, makes a real difference in keeping these tools free and actively developed. Contact Feel free to reach out if you have questions or want to contribute in any way: Website: [danielsaidi.com][Website] E-mail: [daniel.saidi@gmail.com][Email","default_branch":null,"files":null,"tree":[],"storefront":"/r/danielsaidi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/danielsaidi/TextReplacements/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}