Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
pandoc
pandoc
@pandoc@fosstodon.org  ·  activity timestamp 3 years ago

Can you generate your figures in multiple formats and want to always use the format that's suited best for the target? Omit the file extension from the image path and use `--default-image-extension`. E.g., if you export an #image as both #pdf and #svg, then you can write this #Markdown
![caption](my-figure)
and run #pandoc with
pandoc --to=html --default-image-extension=svg
or
pandoc --to=latex --default-image-extension=pdf

  • Copy link
  • Flag this post
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.40 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct