Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Flavored Markdown and native SwiftUI rendering #152

Merged
merged 35 commits into from
Jan 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
3ca64d5
Update gitignore
Oct 15, 2022
4c32d4c
Blank slate (#120)
Aug 21, 2022
17adf31
Add cmark-gfm-0.29.0.gfm.4 (#121)
Aug 21, 2022
1cd49f6
Update dependencies
Oct 15, 2022
8073737
Render paragraphs (#146)
Oct 16, 2022
6396fc7
Render images (#147)
Oct 24, 2022
4239d1b
Render lists (#148)
Oct 26, 2022
df43833
Result builders (#149)
Oct 27, 2022
41e1ee8
Merge branch 'main' into gfm-and-swiftui-native-rendering
Oct 29, 2022
aa21458
Render blockquote (#151)
Oct 29, 2022
fe6c8f8
Render headings (#153)
gonzalezreal Oct 30, 2022
90cfcbd
Theme and styles refactoring (#154)
gonzalezreal Nov 1, 2022
73a4253
Space blocks by using the maximum between the top spacing of the bloc…
gonzalezreal Nov 3, 2022
a5042d3
Render thematic breaks (#156)
gonzalezreal Nov 3, 2022
e5e36fc
Simpler block sequence (#157)
gonzalezreal Nov 4, 2022
d61b362
Render code blocks (#158)
gonzalezreal Nov 4, 2022
f704ff7
Render HTML blocks as verbatim text (#160)
gonzalezreal Nov 7, 2022
07656f4
Render tables (#163)
gonzalezreal Nov 27, 2022
49101f6
Add FontStyle and Size (#166)
gonzalezreal Dec 9, 2022
0838208
Organize source (#167)
gonzalezreal Dec 9, 2022
c91729d
Themes (#168)
gonzalezreal Dec 12, 2022
5013266
Add watchOS support (#169)
gonzalezreal Dec 16, 2022
285f4fa
Sample code (#170)
gonzalezreal Dec 19, 2022
7487f40
Add support for heading anchors (#172)
gonzalezreal Dec 23, 2022
2680e65
Add support for code syntax highlighting through extensions (#173)
gonzalezreal Dec 23, 2022
15eb3ad
Add `ImageProvider` API (#175)
gonzalezreal Dec 25, 2022
b704cbb
Improve theme API (#176)
gonzalezreal Dec 30, 2022
2880bbc
Rename `BlockSpacing` to `BlockMargins` (#177)
gonzalezreal Dec 30, 2022
5b480b4
Disambiguate size-related View methods (#180)
gonzalezreal Jan 14, 2023
fa7fb79
Fix ambiguity issue (#181)
gonzalezreal Jan 18, 2023
c203e1e
Fix relative URLs and heading anchor navigation
gonzalezreal Jan 19, 2023
a538390
Documentation (#178)
gonzalezreal Jan 21, 2023
a9c8888
Enable dark-mode-only and light-mode-only images (#182)
gonzalezreal Jan 22, 2023
38acb6a
Update README (#183)
gonzalezreal Jan 22, 2023
f1654ef
Rename package
gonzalezreal Jan 22, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 6 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ playground.xcworkspace
# Swift Package Manager
#
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
# Package.pins
# Package.resolved
Packages/
Package.pins
Package.resolved
# *.xcodeproj
#
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
# hence it is not needed unless you have added a package configuration file to your project
# .swiftpm
.swiftpm

.build/

Expand Down Expand Up @@ -88,3 +88,5 @@ fastlane/test_output
# https://github.com/johnno1962/injectionforxcode

iOSInjectionProject/

.DS_Store
4 changes: 4 additions & 0 deletions .spi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
version: 1
builder:
configs:
- documentation_targets: [MarkdownUI]
17 changes: 16 additions & 1 deletion .swiftpm/xcode/xcshareddata/xcschemes/MarkdownUI.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,28 @@
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "cmark-gfm"
BuildableName = "cmark-gfm"
BlueprintName = "cmark-gfm"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
shouldUseLaunchSchemeArgsEnv = "YES"
codeCoverageEnabled = "YES">
<Testables>
<TestableReference
skipped = "NO">
Expand Down
10 changes: 0 additions & 10 deletions Demo/MarkdownUIDemo (iOS).entitlements

This file was deleted.

742 changes: 0 additions & 742 deletions Demo/MarkdownUIDemo.xcodeproj/project.pbxproj

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

10 changes: 0 additions & 10 deletions Demo/Package.swift

This file was deleted.

Binary file removed Demo/Screenshot.png
Binary file not shown.
Loading