Skip to content

docs: Document quoted path support in option strings#72

Draft
promptless[bot] wants to merge 1 commit into
mainfrom
promptless/fix-quoted-paths-docs
Draft

docs: Document quoted path support in option strings#72
promptless[bot] wants to merge 1 commit into
mainfrom
promptless/fix-quoted-paths-docs

Conversation

@promptless

@promptless promptless Bot commented Apr 8, 2026

Copy link
Copy Markdown

Open this suggestion in Promptless to view citations and reasoning process

Documents the new ability to use quoted paths (paths containing spaces) in Pandoc option strings and Docker options. Adds an example showing a template path with spaces and includes a release note for the April 8th, 2026 fix.

Trigger Events

ChrisChinchilla/vscode-pandoc PR #71: Fix quoted paths in options strings

Promptless Research (4 files, 1 GitHub PR)

  • Reviewed ChrisChinchilla/vscode-pandoc#71
  • Viewed .long_term_context/product_knowledge/product_overview.md
  • Viewed .long_term_context/doc_workflow/client_instructions.md
  • Viewed .long_term_context/style/client_style_guide.md
  • Viewed README.md

Agent Response

I've reviewed PR #71 and created a documentation suggestion.

Summary of Changes:

PR #71 fixes how option strings are parsed by introducing a parseShellArgs function that properly handles quoted arguments. Previously, options like --template="/path/with spaces/file.latex" would break because the extension split arguments by whitespace, ignoring quotes.

Documentation Updates:

I created a suggestion with the following changes to the README:

  1. Additional Pandoc command line options section - Added a note that users can use quoted paths for arguments containing spaces
  2. New example - Added an example showing a template path with spaces: --template="/Users/me/My Documents/custom-template.latex"
  3. Docker Options section - Added a similar note about quoted path support
  4. Release notes - Added an April 8th, 2026 release entry for this fix

Suggestion URL: https://app.gopromptless.ai/suggestions/ce1ebc28-a230-4a45-8819-022b00cfdfca


Tip: Whenever you leave a comment tagged @Promptless on a Promptless PR, Promptless will remember it for future suggestions 🧠

Comment thread README.md
### Additional Pandoc command line options

Set additional command line options for each output format.
Set additional command line options for each output format. You can use quoted paths for arguments that contain spaces.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Citation: Based on changes in src/extension.ts that add parseShellArgs function to properly handle quoted arguments. Previously, options were split by simple whitespace, which broke quoted paths.
View source

Comment thread README.md
## Releases

- April 8th, 2026
- Fixed parsing of option strings to support quoted paths containing spaces

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Citation: PR #71 introduced parseShellArgs to replace simple whitespace splitting in both pandocOptions and dockerOptions parsing.
View source

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

Successfully merging this pull request may close these issues.

0 participants