-
Notifications
You must be signed in to change notification settings - Fork 309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve gdoc-to-markdown conversion process #2236
Comments
Note that these bugs are produced when we use pandoc. Find open pandoc issues here. @elainekamlley @gboone got any more bugs to add? |
Here's a list of all the things I look for — when I remember. Number 6 in this list is an alternate way of grabbing the images. Also, worth noting that this script works great for exporting Google Docs direct to Markdown. It's a bit cumbersome to get it working every time, but it's possible I'm just not doing it right. |
Scripts seem like a good option to explore — this variant looks promising, too. Do you have any estimates of how long this currently takes for simple blog posts? For more complex posts? |
More info! Using Pandoc via I suspect that many of these issues are being introduced in the GDocs --> Word part of the process, rather than the Word --> markdown step, so I think we should explore ways to remove the interim step. |
Has this Google script been tried as an alternative to pandoc? I tried it just now and it seemed to solve some of the issues, but mangled the frontmatter. Would the |
Whoops! Should have read this thread before posting. Looks like this option has been/is being explored 😀 |
@gboone would know more, but I think either we aren't allowed to use Google Scripts, or you have to reinstall them for each document. There's some high burden that makes it kind of a pain. |
I've submitted the OCIO vetting form for at least one of the Google Scripts, to see if that process can be worked through. Hopefully if that works, it will give us the ability to use that script again. |
Yeah, @awfrancisco's description matches my experience — I'd have to reinstall the script every time I wanted to use it. I wasn't aware of this form for getting them approved, but I did open an IT helpdesk issue about it a long time ago that went largely unanswered. Fingers crossed that the form works for us. |
@awfrancisco When we talk next, I want to ask some about the overall blog workflow and if there are upstream opportunities to improve this process (like writing in markdown within gdocs) — understanding the whole process will help me understand a bit better what we can/can't change. |
I'm marking this as blocked until I hear back about the Google Script. |
First hypothesis about what "better" looks like:
Things we are unlikely to fix:
|
Update on where this is at: I few weeks ago I had submitted a request to GSA IT to get a google script approved for usage. I thought that getting it approved would mean that it was available as an add-on, but it turns out that approval just means that we won't get in trouble, not that using it is functionally different. To make sure that it would work as an add-on, so I tested it on my own personal gmail account and posted it for, for reference. >>Functioning add-on script <<Steps that worked for me (make sure to configure the SDK): It is important to note that this wasn't a plug 'n play type of thing. There was a bunch of account configuration that will probably need to be taken care of by #infrastructure :(. Fortunately, @gboone is the infra lead for Outreach, so we might be able to get approval. I mentioned the add-on to the guy I was talking to from GSA IT, and he didn't know about approval. With that in mind next steps are:
|
We are currently pivoting to tackle this issue in a few different ways:
|
Work in progress on the best practices wiki page. |
@gboone is this good to close? |
@elainekamlley If you could keep this open for the time being,... I sent this thread to the Google Docs team |
Try gd2md-html, a free Google Docs add-on that I developed as an add-on after using Renato Mangini's standalone script. |
Great news @evbacher 🎉 We'll test it out and then get it run through our approval process here at the GSA. So excited about this |
Don't have the resources to do this. Would be nice to have if we do get the resources. Moving this to the parking lot. Might need need engineering resources |
I just submitted gd2md to GSA IT for approval https://github.com/evbacher/gd2md-html/wiki |
Not enough resources to work on at this time. |
When a blog post is completed, approved, and ready to post, it has to be converted into markdown for the site. That process is documented here, but is very bumpy.
Current pain points:
The text was updated successfully, but these errors were encountered: