Open ShokoTB opened 3 weeks ago
Hi @ShokoTB, I'm not aware of any way to detect bookmarks programmatically. If you want intra-doc links, I suggest that you add headings and a TOC at the top of the doc. Docs to Markdown will convert any links that point to headings.
If you are aware of a way to detect bookmarks, please let me know!
I was wrong: there is a Document.getBookmarks() function. I can't promise when I will get to this, as we are busy making some changes, but this will be on the list.
Hi Ed,
I'm glad to hear that there is a way to get bookmarks. Thanks for putting this request on your list! I look forward to it being available.
Warm regards, Shoko
On Wed, Oct 30, 2024 at 3:14 AM evbacher @.***> wrote:
I was wrong: there is a Document.getBookmarks() function. I can't promise when I will get to this, as we are busy making some changes, but this will be on the list.
— Reply to this email directly, view it on GitHub https://github.com/evbacher/gd2md-html/issues/183#issuecomment-2446448770, or unsubscribe https://github.com/notifications/unsubscribe-auth/BMAFFFAFBSWHTIXCYYU3J4DZ6CWRHAVCNFSM6AAAAABQ2ROYFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBWGQ2DQNZXGA . You are receiving this because you were mentioned.Message ID: @.***>
Hi,
We have long documents (yes, I know that HTML files are supposed to be short but this client is adamant about having their >100 page Google Docs converted to HTML just for their release) where we link to bookmarks. Unfortunately, after using Docs to Markdown (HTML option), none of those links work because no anchor tags were generated for the bookmarks. While I can edit the HTML to insert those bookmarks, I would really prefer that Docs to Markdown do this work. My co-worker, who doesn't know HTML, went to great lengths to convert all her bookmarks to headings but that didn't work too well when her original bookmark was a list item.
Thanks!