summaryrefslogtreecommitdiff
path: root/DomainDig/ContentView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'DomainDig/ContentView.swift')
-rw-r--r--DomainDig/ContentView.swift20
1 files changed, 20 insertions, 0 deletions
diff --git a/DomainDig/ContentView.swift b/DomainDig/ContentView.swift
index b5ec729..d69cfa3 100644
--- a/DomainDig/ContentView.swift
+++ b/DomainDig/ContentView.swift
@@ -572,11 +572,21 @@ struct ContentView: View {
Button("Export JSON") {
shareSingleResults(format: .json)
}
+ Button("Export Markdown") {
+ shareSingleResults(format: .markdown)
+ }
+ Button("Export PDF") {
+ shareSingleResults(format: .pdf)
+ }
} else {
Button("CSV Export • Available in Pro") {}
.disabled(true)
Button("JSON Export • Available in Pro") {}
.disabled(true)
+ Button("Markdown Export • Available in Pro") {}
+ .disabled(true)
+ Button("PDF Export • Available in Pro") {}
+ .disabled(true)
}
} label: {
Image(systemName: "square.and.arrow.up")
@@ -614,11 +624,21 @@ struct ContentView: View {
Button("Export Batch JSON") {
shareBatchResults(format: .json)
}
+ Button("Export Batch Markdown") {
+ shareBatchResults(format: .markdown)
+ }
+ Button("Export Batch PDF") {
+ shareBatchResults(format: .pdf)
+ }
} else {
Button("Batch CSV • Available in Pro") {}
.disabled(true)
Button("Batch JSON • Available in Pro") {}
.disabled(true)
+ Button("Batch Markdown • Available in Pro") {}
+ .disabled(true)
+ Button("Batch PDF • Available in Pro") {}
+ .disabled(true)
}
} label: {
Label("Export", systemImage: "square.and.arrow.up")