Add 'Convert to Markdown' button in App.tsx
This commit is contained in:
@@ -1785,6 +1785,14 @@ export default function App() {
|
|||||||
: "Edit"
|
: "Edit"
|
||||||
: "Preview Markdown"}
|
: "Preview Markdown"}
|
||||||
</button>
|
</button>
|
||||||
|
<button
|
||||||
|
className="button"
|
||||||
|
type="button"
|
||||||
|
onClick={handleConvertToMarkdown}
|
||||||
|
disabled={!ollamaModel || isConverting || isViewingHistory}
|
||||||
|
>
|
||||||
|
{isConverting ? "Converting…" : "Convert to Markdown"}
|
||||||
|
</button>
|
||||||
<button className="button" onClick={handleExportText}>
|
<button className="button" onClick={handleExportText}>
|
||||||
Export Text
|
Export Text
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user