33 Commits
Author SHA1 Message Date
gonzalezrealandgithub-actions[bot] 9f6c50ff63 Run swift format 2024-06-16 08:29:38 +00:00
moophisandGitHub c0daf6eb79 Add title bar for code blocks in the Demo app CodeSyntaxHighlightView (#249) 2024-05-09 08:07:56 +02:00
Guille GonzalezandGitHub 5df8a4aded Enable text selection in demo (#259) 2023-09-10 09:35:58 +02:00
Guille GonzalezandGitHub a20063b7b5 Fix code block truncation (#256)
* Fix unexpected code block truncation

* Remove unused code

* Update SnapshotTesting package
2023-09-03 12:34:47 +02:00
Guille GonzalezandGitHub c51f1a1b11 Add Markdown content to block configuration (#220)
* Add methods to access child content and render plain text

* Add the Markdown content to the block configuration

* Fix building with Swift 5.8

* Deprecate block-style methods with a label closure

* Fix deprecation warnings

* Update documentation
2023-04-11 11:47:39 +02:00
Guille GonzalezandGitHub 4392c3cefd Add ImageRenderer demo (#198) 2023-03-11 12:17:06 +01:00
Guille GonzalezandGitHub d4d899384e Render first level inline images (#193)
* Render inline images

* Update demo project with inline images

* Update documentation
2023-02-26 19:20:16 +01:00
Guille Gonzalez 648290408f Add a sample that shows how to use Markdown with images inside a LazyVStack 2023-02-05 08:18:28 +01:00
Guille GonzalezandGitHub 38acb6ad63 Update README (#183)
* Test header image

* Update README

* Update README
2023-01-22 17:48:51 +01:00
Guille Gonzalez a538390f18 Documentation (#178)
* WIP

* WIP

* WIP

* Disambiguate size-related View methods

* Update demo

* WIP

* Rename `Size` to `RelativeSize`

* WIP

* WIP

* WIP

* WIP

Fix relative URLs and heading anchor navigation

* WIP

* WIP
2023-01-22 08:01:59 +01:00
Guille GonzalezandGitHub fa7fb79712 Fix ambiguity issue (#181) 2023-01-18 19:18:41 +01:00
Guille GonzalezandGitHub 5b480b4d7b Disambiguate size-related View methods (#180)
* Disambiguate size-related View methods

* Update demo
2023-01-14 07:26:51 +01:00
Guille GonzalezandGitHub 2880bbc466 Rename BlockSpacing to BlockMargins (#177) 2022-12-30 19:13:45 +01:00
Guille GonzalezandGitHub b704cbb48e Improve theme API (#176)
* Text styles

* Heading styles

* More block styles

* List marker styles

* Table and thematic break styles

* Adopt refactored styles

* Code cleanup

* Update sample code

* Rename TextStyle protocol

* Update sample code

* Disable font properties test in tvOS
2022-12-30 18:03:04 +01:00
Guille GonzalezandGitHub 15eb3add92 Add ImageProvider API (#175)
* Add ImageProvider API

* Add images sample code

* Add image providers demo
2022-12-25 08:02:54 +01:00
Guille GonzalezandGitHub 2680e65051 Add support for code syntax highlighting through extensions (#173) 2022-12-23 07:55:15 +01:00
Guille GonzalezandGitHub 7487f40bf6 Add support for heading anchors (#172) 2022-12-23 07:31:48 +01:00
Guille GonzalezandGitHub 285f4fa027 Sample code (#170)
* Prevent some tests from running on iOS <16

* Add Swift Package Index manifest for documentation hosting

* Add a new demo project

* Add demo contents

* Remove commented code

* Set the GitHub theme as the default
2022-12-19 21:20:53 +01:00
Guille Gonzalez 64e25355c3 Update demo project 2022-01-16 15:49:27 +01:00
Guille Gonzalez 731cf27b56 Add workspace 2021-07-06 18:45:13 +02:00
Guille GonzalezandGitHub cae6f69199 Refactor MarkdownStyle
* Refactor MarkdownStyle with a protocol and a default implementation

* Update documentation
2021-02-25 23:17:28 +01:00
Guille GonzalezandGitHub d7da53e5e1 Use SwiftCommonMark
* Use SwiftCommonMark

* Update CI job

* Update SwiftCommonMark dependency and README
2021-02-12 20:30:24 +01:00
Guille Gonzalez 60496a0f7d AttributedText++ 2021-01-25 16:35:40 +01:00
Guille Gonzalez 813ab52fc9 Add Markdown dingus 2021-01-16 20:59:43 +01:00
Guille Gonzalez ba3140bafe Add support for macCatalyst 2021-01-16 16:21:18 +01:00
Guille Gonzalez 23efe225f9 NetworkImage++ 2021-01-13 18:02:57 +01:00
Guille Gonzalez 1b23032ebc Add support for image base URL 2021-01-08 15:10:03 +01:00
Guille Gonzalez f8ccb6f9e9 Update AttributedText dependency and fix macCatalyst builds 2021-01-08 12:24:17 +01:00
Guille Gonzalez 721b1f02f6 Add Markdown snapshot tests 2021-01-03 16:43:19 +01:00
Guille Gonzalez 43a801bcd0 Update README 2020-12-29 12:03:36 +01:00
Guille Gonzalez 28e2be625e Update sample code 2020-12-28 20:40:02 +01:00
Guille Gonzalez db6078d4eb Add documentation 2020-12-26 20:33:05 +01:00
Guille Gonzalez 10213bedc1 Add a demo project 2020-12-21 23:58:00 +02:00