Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more
63 votes

How do I add new styles to Google docs?

A lot of the solutions don't work inline. This is a cleaned-up solution offered by @AlekseyBykov using Google App Scripts to add a custom menu action: Create a new script (Tools > Script Editor) ...
dule's user avatar
  • 761
49 votes
Accepted

Easy way to convert text lines into table rows?

The problem for a Q&A site is that "easiest" is subjective. However I can offer one approach which is to copy the text into Sheets and copy that back into Docs. It is quite practical for me, but ...
pnuts's user avatar
  • 17.6k
43 votes

In Google Docs can the entire background colour for a piece of text be changed?

Select the text Format> Paragraph Styles> Borders and Shading Choose your background color
Bram's user avatar
  • 531
40 votes

Show resolved comments on Google Docs in context without re-opening them?

Click on "Comments" at the top right corner (marked in the image below). The resolved ones are listed there. Source: Link To see the original context of a comment, click on that comment. This will ...
root's user avatar
  • 732
39 votes

Is there a way to use Font Awesome icons in Google Docs?

I broke down and made Font Awesome vector graphics in Google Draw: Google Drive Template Link: "Font Awesome Vector Icons/Glyphs" Instructions: Click on the link to open the template in ...
Joe M.'s user avatar
  • 391
36 votes

How to view the parent folder of a Google Document?

Update: Folder icon has now changed to a move icon, but it still works...
Jesper Wilfing's user avatar
34 votes

Can I format the Google Docs Table of Contents to only include certain headers?

Unfortunately Google Docs does not support hiding specific heading levels. The only "solution" would be to change the headers you want to hide to the "Normal" style, then manually set the font ...
Stevoisiak's user avatar
  • 3,717
31 votes

How can I get code syntax highlighting in Google Docs?

You can add-on Code Block for Google Docs. 1*- Google Docs --> Add-ons Tab --> 2*- Get Add-ons ... --> Search For: 'Code Blocks' 3*- Then you go to Add-ons --> Code Block --> Start 4*- Select Theme(...
T04435's user avatar
  • 411
30 votes

What is the hotkey for adding rows in Google Docs?

Pressing Tab when the cursor is at the rightmost of the bottom row automatically adds a new row below it. It's quite handy if you don't know how many rows you need in advance and require them as you ...
Geetchandra's user avatar
30 votes

How to automatically size tables to the entire width of a Google Doc?

This is all because of the Column width property in a table. If you right-click the table and choose Table properties, you'll see a dialog such as: In the original "pristine" state, all 3 ...
Senseful's user avatar
  • 31.2k
29 votes

Can I format the Google Docs Table of Contents to only include certain headers?

What I did to solve the problem which is probably doc specific, but I was using H1 through H3, what would have been H4 I didn't want to show up in the TOC. I converted all the H4's to Subtitles, then ...
donnoman's user avatar
  • 391
26 votes
Accepted

Embed Google Spreadsheet in Google Document

From today (2016-05-20) on, Google is starting to roll out the ability to embed a chart from a Google spreadsheet into a Google document. At this point, two of my 3 Google accounts make the option ...
Jean-Rene Bouvier's user avatar
25 votes

How to view the parent folder of a Google Document?

Missing the Folder Icon? If you find that little folder missing to the right of the file name, then you can choose File > Document details... to at least see the parent directory name. E.g.: And ...
broc.seib's user avatar
  • 359
23 votes

Can I format the Google Docs Table of Contents to only include certain headers?

The previous answers suggests setting the style of headers to "Normal" and manually setting their style to look like a header. If you do so, you will lose the ability to link to that header from ...
benjamin ratelade's user avatar
23 votes
Accepted

All Google Docs URL parameters/functions/commands?

There is no official Google documentation for this. Let's have unofficial one: /copy /export /edit /view /preview /create /pub? /fm?id= /tq?tqx=out:html &key=[ID] &gid=[#] &single=[true|...
user0's user avatar
  • 26.6k
21 votes

Always a blank line above where I insert a table?

Right now you can fully hide the line with font size 1 and custom line spacing .06, I visually verified that saving as PDF shows no whitespace at the top. Also, in regards to not being able to ...
npjohns's user avatar
  • 311
21 votes

How to extend word underline to end of line with Google Docs

You can achieve a similar effect by: Highlighting the text Opening Format > Paragraph styles > Borders and shading... Choosing a bottom border Pressing Apply
Eric Freese's user avatar
21 votes

Google Docs strike-through shortcut not working on Mac in Chrome

I eventually tested on a 3rd Mac and it worked. It turns out it was a Chrome extension using that same shortcut on my 2 Macs. I don't know why Incognito mode didn't solve this. You can see the ...
Graham P's user avatar
  • 449
20 votes
Accepted

Google Docs PDF export has extra blank pages at the end of the document

In the Google Doc help forum, there are a few answers suggesting to change the view to "print layout". Changing the view to "print layout" fixed the issue for me.
Paul Rougieux's user avatar
18 votes

Google Docs: How to change the color of bullets in bulleted lists?

While it's not the perfect solution, I just discovered a way that should be a little less tedious than what you're currently doing. I just created a quick bulleted list in a brand new Google Doc ...
Stephen Gierek's user avatar
18 votes

Can't add alternate email in Gmail

I spent too much time trying to crack this and finally figured out a solution. This applies if you're in a very specific situation where all of these apply: When you try to add an alternate email to ...
Ian Greenleaf Young's user avatar
17 votes
Accepted

Link to view PDF version of a Google Docs

Replace the beginning of the url with the Google Docs viewer. This is what you need: https://docs.google.com/viewer?url=https://docs.google.com/x/yyyy/document/z/nvjsinmsdfjnlsnlkkn-hslknl1_V7sc/...
contehhh's user avatar
  • 186
17 votes

Add page break in table in Google Docs

To split a table in Google Docs: Select the bottom part of the table - everything below the point where you want the split. Drag it below the table Delete the empty rows that are left behind
Joel Spolsky's user avatar
  • 1,421
16 votes

How do I add new styles to Google docs?

The workaround I've come to rely on is the Copy/Paste Format feature shortcut. As the format "clipboard" is separate from the text clipboard, it is preserved for as long as you have the document open. ...
scipilot's user avatar
  • 331
16 votes
Accepted

How can I link to revision history on Google Docs?

In Google Sheets (but not Docs) I was able to get a permalink for a particular from/to revision pair. While in the Google Sheet, enable your browser's developer tool In the Sheet, select File -> See ...
boulderalf's user avatar
16 votes
Accepted

Can you specify an accout to use with Google's “.new” doc creation URL?

Since Jul. 25th 2019 it's actually possible to specify in which account to create the new file, exactly as you stated in your question. From now on: docs.new/1 - creates the file in your personal ...
Bartosz Petryński's user avatar
15 votes

Putting page numbers in a table of contents in Google Docs

The recent (5 Oct 2016) update of Google Documents now include that feature. To insert a table of contents with page numbers, ... simply select the numbered option when inserting a table of ...
Vidar S. Ramdal's user avatar
15 votes
Accepted

How to make hundreds of URLs clickable in Google Docs

I did some research on using Google Apps Scripts and I came up with this script that works for my needs. I hope it's useful for someone else too. function onOpen() { DocumentApp.getUi()....
Dan H's user avatar
  • 360
15 votes
Accepted

How can I create an anchor link in a Google Docs document?

You can create a bookmark. Place the cursor where you want to link to, and select Insert → Bookmark from the menu. Click the Link item in the popup menu: The browser location bar now shows ...
Vidar S. Ramdal's user avatar
14 votes

How to print a Google Docs document with comments in the margin?

You can do this as follows, in the Google Document click File > Download As > Web page. Then, open the downloaded file with any browser, print that. At the bottom of the document you will have all ...
JamesR404's user avatar
  • 141

Only top scored, non community-wiki answers of a minimum length are eligible