Repository navigation
feat(document-renderer): figure caption formatting with snapshot dates - #583
Merged
Merged
Conversation
transitrix
force-pushed
the
methodology/539-diagram-captions-snapshots
branch
4 times, most recently
from
September 2, 2026 21:23
354249b to
92c67a3
Compare
Add formatFigureCaptions() to process figure elements and embed snapshot build dates in captions. Figures with data-snapshot-id attributes now display caption text with the formatted snapshot generation date. - Extend render-vivliostyle.mjs with figure caption date formatting - Update wrapHtmlForPrintRendering() to process figures before wrapping - Add comprehensive tests for caption formatting in test_render_vivliostyle.mjs - Update PDF_RENDERING_ENGINE.md documentation and status matrix Figure captions now show: "Figure title (Sep 2, 2026)" when snapshots are provided, enabling traceability from diagram to source snapshot. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com> Signed-off-by: transitrix <automation@transitrix.com>
transitrix
force-pushed
the
methodology/539-diagram-captions-snapshots
branch
from
September 3, 2026 20:12
5b2d103 to
dde8fac
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implement figure caption formatting with snapshot build dates, enabling diagrams embedded in PDFs to be traced back to their source snapshots and build time.
What's included
formatFigureCaptions()function to process HTML figure elementsdata-snapshot-idattributes now display captions with formatted snapshot datesHow it works
Figures reference snapshots via
data-snapshot-id:When metadata includes snapshots:
Acceptance criteria