Opens and views markdown files. Has recent opened files function.
Built using Tauri V2
Uses Marked to generate HTML from Markdown
Uses PNPM
To pass command line arguments to dev: pnpm tauri dev -- -- <arguments>
Check Tauri version and update:
pnpm outdated @tauri-apps/cli then pnpm update @tauri-apps/cli @tauri-apps/api --latest
withGlobalTauri is set to true
The following plugins were installed:
pnpm tauri add dialog
pnpm tauri add fs
pnpm tauri add shell
pnpm tauri add store
pnpm tauri add opener
pnpm tauri add os
pnpm tauri add deep-link
pnpm tauri add cliOn Fedora, the following packages were needed:
sudo dnf install libsoup3-devel
sudo dnf install javascriptcoregtk4.1-devel
sudo dnf install webkit2gtk4.1-develTo open the console and view errors: Open DevTools using Right click then Inspect.
The semicolon after the 2 IIFEs inside the DOMContentLoaded event listener are necessary to avoid error.
-
Implement Open With using CLI ✅
-
Filename as Positional argument ✅
-
The app launches when using CMD:
start markdown://open-file?payload=C:/Users/you/Documents/example.md -
Deep link received when using
getCurrent()✅ -
Add Menu items using Window plugin ✅