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

Failed to export Called: pandoc --to md Unknown output format md #184

Closed
asteglor opened this issue Feb 2, 2025 · 2 comments
Closed

Failed to export Called: pandoc --to md Unknown output format md #184

asteglor opened this issue Feb 2, 2025 · 2 comments

Comments

@asteglor
Copy link

asteglor commented Feb 2, 2025

Failed to export into markdown

Host: MacBookAir 10,1
OS: macOS 15.0 arm64
Shell: zsh 5.9
PanWriter: 0.8.6 (0.8.6)
pandoc: 3.6.2
CPU: Apple M1
Memory: 16384MiB
Kernel: 24.0.0

Error

Called: pandoc --to md

Unknown output format md

How to reproduce?

  1. Open PanWriter
  2. Press File -> Export to Clipboard
  3. Select Markdown (md)
  4. Press Export
  5. Enjoy the error message

Possible reasons

The version of pandoc that is installed on my system does not support the short call of the markdown format.
The format must be written in an unabbreviated form.

Right

pandoc -f html -t markdown https://pandoc.org/MANUAL.html

Wrong

pandoc -f html -t md https://pandoc.org/MANUAL.html
@mb21
Copy link
Owner

mb21 commented Feb 3, 2025

Thanks, can't believe nobody notices this before!
Should be fixed in 920f48e
I'll try to make a release... perhaps after updating the electron version again (it's been some times).

@mb21
Copy link
Owner

mb21 commented Feb 9, 2025

Released in PanWriter v0.8.8

@mb21 mb21 closed this as completed Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants