Add pptx-to-html-trace to Document Processing - #1696
Open
JunoChenZt wants to merge 1 commit into
Open
Conversation
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.
Adds one entry to Document Processing.
pptx-to-html-trace rebuilds a PowerPoint or PDF slide as HTML that matches the original, and ships the original render alongside the page as a comparison layer so the match can actually be checked: HTML only · Reference only · Overlay · Difference. In difference mode matched pixels go black, so only the errors still glow.
Not a duplicate of the existing
pptxentryThe official
pptxskill already listed here reads and generates slides — it works inside PowerPoint. This one goes the other way: it takes a finished slide and reproduces it as a web page, then gives you the instruments to prove the reproduction is faithful. Different direction, different output, no overlap in what they're used for.It is also deliberately not a PPTX→HTML converter. Converters hand you a fidelity percentage and a manual checklist. This assumes the gap exists and hands you a way to measure and close it — a workbench rather than a finished player.
Why a link instead of a vendored folder
CONTRIBUTING describes adding a
skill-name/SKILL.mdfolder. This skill isSKILL.mdplus a 65KB geometry extractor that reads the.pptxXML — copying only the Markdown in would produce a skill that cannot work. I followed the precedent of the Markdown to EPUB Converter entry and linked the source repo, so the code stays with its documentation and updates reach users automatically. Happy to restructure if you would rather vendor it.Against the requirements in CONTRIBUTING
SKILL.mdin English and Simplified Chinese;SKILL.mdis 312 lines.MIT licensed.