Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Capture changes to figure captions #20

Open
noamross opened this issue Dec 8, 2018 · 0 comments
Open

Capture changes to figure captions #20

noamross opened this issue Dec 8, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@noamross
Copy link
Owner

noamross commented Dec 8, 2018

  • Use a knit figure hook to wrap fig.cap caption text and assign it a span with caption and the chunk name.
  • Pre-extract captions from the document after conversion to markdown
  • Re-insert them into the chunk options.
  • This requires extracting the chunk options as a list, rather than just the header
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant