Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Right now it's not possible to add more styles or rename the existed ones, but you can modify them to match your needs. For example you could style your code as you wish and then by selecting one of the headers and choosing the Update Heading # to match selection, that particular style could become your new "Code" style. Then select something else and ...


With the new Add-Ons for Google Drive, you can get code highlighting with the Code Pretty add-on. After installing the add-on, you can access it by selecting the code you want to format, go to Add-ons → Code Pretty, and select Format Selection: The result looks like this: Lately, other alternatives have emerged, some of which have useful features. ...


As Lipis poins out, you still cannot create your own styles. So, you are left to repurpose an existing one. The downside to using Heading is this will result in "code" in my Table of Contents (TOC). :/ I found that using Title and Subtitle styles for code prevents those styles from showing in TOC.


With the new Add-Ons for Google Drive, you can get code highlighting with the Code Pretty add-on. After installing it, you can access the add-on by clicking Add-ons → Code Pretty, → Format Selection: This results in:


Turns out the quote button is buried inside the align menu on the formatting toolbar. When you click Align, a submenu pops up with a few options for indentation and quoting, in addition to text justification.


If you prefix the data in the cell with a single quote—'—it should prevent any default formatting.


I'm honestly not sure when this was updated, but centering a table directly appears to be possible now. Simply right-click on the table and go to "Table Properties", "Table Alignment", "Center". Click OK.


You could send it as code using three back-ticks, similar to formatting code here on StackExchange: *word* = word ```*word*``` = *word* (Note: it will use a monospace font).


Unfortunately the markup for Google+ (and Google Talk by extension) is fairly limited. You're missing: -item- for strikethrough @name or +name to tag someone. Drag and drop Add photos, videos, or links to your posts by dragging them directly to the share box. To add a link, drag the icon next to the URL from the address bar to the share box. ...


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) Copy the following code into the editor: // Add new menu item function onOpen() { DocumentApp.getUi() .createMenu('Styles') .addItem('Format Code', '...


Update A few years later now, and Google Inbox will let you paste a table directly from Google Sheets or LibreOffice. I assume it also works from Microsoft Office. Original Answer This Digital Inspiration blog post helped me out. Basically, you can copy content from any web page and paste it into the Gmail rich text editor. The editor will do its best to ...


Guide to Adding Custom Number Formats Click on Format Go to Number > More Formats > Custom number formats Paste custom number format (see below) Click Apply . . Different Custom Number Formats Output: ###-###-#### Syntax: ##########000"-"000"-"0000 Output: (###) ###-#### Syntax: ##########"("000") "000"-"0000 Output: 1-###-###-#### Syntax: #########...


To quote, you can also select the text and use the keyboard shortcut Ctrl+Shift+9 on Windows and Cmd+Shift+9 on OS X. This shortcut works only in rich text mode.


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(50+)


You can reduce the gap at the top of a table by placing the cursor above the table, and reducing the font size. I can't seem to reduce it below 6 points, and even this required me to type the number into the "Font size" box. However, it does at least move the table up a bit. I had to do the same thing at the bottom of my table. If anybody wants to log this ...


In Trello, card titles are single line, i.e. they can't contain a carriage return. (It's similar to the subject line of an email) If you'd like to include multi-line content, you can do that in the card description, or in a comment (using shift + enter)


The gratis Google Docs extension Paragraph Styles+ allows to create custom paragraph styles (plus decimal system outline numbering for headings and a table of contents with page numbering). I just tested it, and here's my first impression: Good start. For small-ish documents, it should be good to use :-) However it runs quite slow, even though recent ...


The following custom number format mask will produce the desired results without losing the accuracy of the underlying value. [>999999]0.0,,\M;[>999]0.0,\K;0


You could add the code to something like Pastebin; and then share it as a link. Hope this helps.


You can install the Markdown Here extension for Chrome and write the code in markdown format in the email compose window. You can either write the code with a four-space indent: this is some code Or with the triple backtick format: ``` this is some code ``` Then, to turn the markdown code into a properly formatted email, activate the extension ...


Em space works! I've finally cracked this indentation issue in Google+. I use em space and Google+ doesn't simply remove/replace it. It stays there. The only problem is how do you type it out? Its Unicode code is U+2003 but there's not any keyboard shortcut... How I used it is: Open Character Map. Change options to display By Unicode Block. Select General ...


What you'll need here is to add a double-space, or two spaces, at the end of the line before you hit the Enter. So in this case, the keys entered would be: George SmithspacespaceEnter 27 Smith StreetspacespaceEnter Smithsville Markdown requires the addition of those two spaces at the end to mark a new linebreak.


Until recently, it was possible to edit the CSS (stylesheet) and HTML source of a document. It took some work, but if you knew HTML and CSS you could add a CSS class to your doc, and then edit the HTML to use it, e.g. in the HTML <span class='booktitle'>Infinite Jest</span> and in the CSS .booktitle { font-style:italic; } Google has more or ...


The text() function might help you out. There is better documentation of it on the Excel help site: What you're looking for is wrapping your average() function in the text() function like this: ="Daily Avg: " &text(AVERAGE(C3:C13),"0.00") text() works like this: text(number,...


I just checked and currently it is not possible to do that, on the table itself. There's however a "hack" option available: add a table in a table, see screenshot. Screenshot Example See example doc I've created: table in a table Note If you set the color of the grid lines to be white, than it will fade away. It will also give you flexibility to ...


It does not appear to be possible to update the default style for links in your Google doc. This is because Google docs does not treat links as styles. This is understandable, as a link might be applied within text formatted with any other style (e.g., Heading 1, normal text, etc.) If you try highlighting a link and checking the context menu, note that the ...


Google+ doesn't offer many formatting options. At best it offers a very watered down version of Markdown, with only bold, italic, and strikethrough. So unless and until Google adds more options you're out of luck. The only other possible option would be to create a GIF with the text of your code and include that in your post.


I use this formula to convert the date time values IFTTT spits out to a useful format: =VALUE(SUBSTITUTE(A1, " at ", " ")) Where A1 is the cell containing the date string This gives you a decimal number that you can format as "Date Time".


Yes you can, but I don't know how to do it, at least not directly. However, it is possible. If you copy in text that's already small caps (e.g. from wikipedia), Docs will preserve the setting. You can then set one of the styles (e.g. Heading n) to this copied text and use it to format other bits of your document as needed. Changing the font, size, and ...


May be an old question but its still being looked up - so here is the workaround: Importrange as we all know will only import raw un formatted data into a new googlesheet. As a workaround to avoid the hassle of redoing all the conditional formatting rules on the new import data sheet, do the following: - on the original sheet which you plan to import data ...

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