feat(docs): add --tab support for markdown find-replace and append#541
Closed
donbowman wants to merge 1 commit intoopenclaw:mainfrom
Closed
feat(docs): add --tab support for markdown find-replace and append#541donbowman wants to merge 1 commit intoopenclaw:mainfrom
donbowman wants to merge 1 commit intoopenclaw:mainfrom
Conversation
Enables `gog docs find-replace --format markdown --tab <TAB_ID>` to render markdown into specific tabs of multi-tab Google Docs, addressing the automation workflow requested in openclaw#537. Changes: - Remove blocking error preventing --tab with --format markdown - Propagate tabID through markdown rendering pipeline: - replaceDocsMarkdownRange, insertDocsMarkdownAt - MarkdownToDocsRequests, buildTextStyleRequest - InsertNativeTable, buildImageInsertRequests - insertImagesIntoDocs, cleanupDocsImagePlaceholders - Add TabId to all Range and Location objects in formatting requests - Enable --tab with --markdown --append for docs write - Add test coverage in docs_tab_edit_test.go Note: update --markdown --replace --tab remains unsupported by design, as Drive's markdown converter API operates on entire documents and doesn't support tab-specific updates (Google API limitation). Fixes openclaw#537
Collaborator
|
Thanks for the PR. The tab-aware markdown find-replace/write work is already on Verified current |
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.
Enables
gog docs find-replace --format markdown --tab <TAB_ID>to render markdown into specific tabs of multi-tab Google Docs, addressing the automation workflow requested in #537.Changes:
Note: update --markdown --replace --tab remains unsupported by design, as Drive's markdown converter API operates on entire documents and doesn't support tab-specific updates (Google API limitation).
Fixes #537