We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This kind of ties into #8, but it would be nice to be able to specify a keybind to render without getting the popup window every time.
You can do something like
{ "key": "f5", "command": "pandoc.render", "args": {"outputType": "pdf"}, "when": "editorTextFocus && editorLangId == 'markdown'" }
in keybindings.json and I believe the value of args will get passed to the command, like this:
keybindings.json
args
- var disposable = vscode.commands.registerCommand('pandoc.render', () => { + var disposable = vscode.commands.registerCommand('pandoc.render', (outputType: string) => {
and then some popup-skipping logic could be added or something.
Not 100% sure the details are right, this is just from my investigations into setting up a way to easily trigger a re-render.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This kind of ties into #8, but it would be nice to be able to specify a keybind to render without getting the popup window every time.
You can do something like
in
keybindings.json
and I believe the value ofargs
will get passed to the command, like this:and then some popup-skipping logic could be added or something.
Not 100% sure the details are right, this is just from my investigations into setting up a way to easily trigger a re-render.
The text was updated successfully, but these errors were encountered: