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

figure numbers in pandoc #158

Open
dfolch opened this issue Mar 10, 2021 · 0 comments
Open

figure numbers in pandoc #158

dfolch opened this issue Mar 10, 2021 · 0 comments

Comments

@dfolch
Copy link

dfolch commented Mar 10, 2021

My workflow:

  • Pweave to create markdown file
  • pandoc to convert markdown file to Word doc

I want to use https://github.com/tomduck/pandoc-xnos to add figure and table numbers in the final Word doc. This requires the following syntax in the markdown file:

![Awesome Figure Title](figures/awesome_fig.png){#fig:awesome tag="1"}

I can use the caption code chunk option to get the figure title in the correct place. How can I get {#fig:awesome tag="1"} appended to the end of the line?

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

1 participant