Version
gog 0.17.0 (Homebrew 2026-05-15T18:03:28Z)
Symptom
gog docs write <docId> --tab=X --file=Y --markdown --append fails when the appended markdown contains a table. Body content before the table is appended successfully, but the table itself is dropped with:
insert native table: table not found near index N
Reproduces both when the table is embedded in a larger markdown file and when it is the only content in the file.
Repro
cat > /tmp/table.md <<'TBL'
| API call | Type | Vuln class |
|---|---|---|
| HttpServletRequest.getParameter | SOURCE | XSS |
| HttpServletResponse.sendRedirect | SINK | open redirect |
TBL
gog docs write <docId> --tab=<tabName> --file=/tmp/table.md --markdown --append
# insert native table: table not found near index 7786
Expected
Table renders as a native Google Docs table (as it would in docs create --file --markdown).
Notes
Workaround
Convert tables to bullet/definition lists in source markdown before appending. Lossy, but content survives.
Version
gog 0.17.0 (Homebrew 2026-05-15T18:03:28Z)Symptom
gog docs write <docId> --tab=X --file=Y --markdown --appendfails when the appended markdown contains a table. Body content before the table is appended successfully, but the table itself is dropped with:Reproduces both when the table is embedded in a larger markdown file and when it is the only content in the file.
Repro
Expected
Table renders as a native Google Docs table (as it would in
docs create --file --markdown).Notes
find-replace), which v0.17.0 fixed.--appendoperations against different tabs in the same doc; every trailing-table file showed the same error and dropped the table.Workaround
Convert tables to bullet/definition lists in source markdown before appending. Lossy, but content survives.