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

Ignored pandoc_arg if OptString is defined #11

Open
alfureu opened this issue Apr 27, 2021 · 1 comment
Open

Ignored pandoc_arg if OptString is defined #11

alfureu opened this issue Apr 27, 2021 · 1 comment
Assignees
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@alfureu
Copy link

alfureu commented Apr 27, 2021

I try to define in the file itself the pandoc_arg. However, if there is anything written in the main settings' OptString element of the plugin, the pandoc_arg is simply ignored.

Would it be please possible to add these to the end of the OptString? So it also takes into consideration the settings made in pandoc_arg within the file?

@alfureu
Copy link
Author

alfureu commented May 21, 2021

I must correct the reported issue. Anything is ignored in the output yaml header with this extension unfortunately:

For example, having anything set in the header for output

---
output:
  word_document:
    reference_docx: 
    pandoc_args: 
---

the extension ignores completely these settings. This means one cannot alter or add any settings, except in the extension Setting.

EDIT: I am trying to add a --lua-filter=/path/to/filter for example

@ChrisChinchilla ChrisChinchilla self-assigned this Sep 22, 2021
@ChrisChinchilla ChrisChinchilla added bug Something isn't working enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Sep 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants