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

[question] Can it support exporting? #16

Open
Freed-Wu opened this issue Oct 18, 2022 · 6 comments
Open

[question] Can it support exporting? #16

Freed-Wu opened this issue Oct 18, 2022 · 6 comments

Comments

@Freed-Wu
Copy link

markdown-preview-enhanced support export by pandoc https://shd101wyy.github.io/markdown-preview-enhanced/#/pandoc-pdf. However, I have not found any command about it in coc-markdown-preivew-enhanced. Is it not supported yet? Thanks.

@weirongxu
Copy link
Owner

Actually vscode-markdown-preview-enhanced doesn't provide a command to export pandoc, but you can right click on the webview then select pandoc.

@Freed-Wu
Copy link
Author

Actually vscode-markdown-preview-enhanced doesn't provide a command to export pandoc, but you can right click on the webview then select pandoc.

I see. It is a upstream's problem which should be reported to upstream. Thanks.

@weirongxu
Copy link
Owner

If we just add some commands, we don't need report to upstream. But according to the upstream design, we need to start a markdown engine when calling some export command, similar to the execute openPreviewBackground

@weirongxu weirongxu reopened this Oct 22, 2022
@weirongxu
Copy link
Owner

Later I'll think about how many export actions need to be added to coc command list

@Freed-Wu
Copy link
Author

If we just add some commands, we don't need report to upstream

I just concern if upstream also want to add some commands, should we let them know to keep same command names?

@weirongxu
Copy link
Owner

Your concern is also right, for some users who use coc.nvim and vscode-markdown-preivew-enhanced at the same time, the same command should be better

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