New keyboard shortcuts, block duplication, colored inline icons and more

16 October: Quickly switch between paragraphs and headings, duplicate blocks with a tap, add colored icons to your page and more

Faster heading and paragraph block switching

We’ve added a few new keyboard shortcuts that let you quickly switch a text block between paragraph, H1, H2 and H3. Simply click anywhere in the block you want to switch and hit one of these shortcuts:

Action
Mac
Windows

Turn into a paragraph

+ + 0

Ctrl + Alt + 0

Turn into a heading 1

+ + 1

Ctrl + Alt + 1

Turn into a heading 2

+ + 2

Ctrl + Alt + 2

Turn into a heading 3

+ + 3

Ctrl + Alt + 3

We’ve been using it while writing this changelog and it’s great — especially when you forget to hit # at the start of an empty line and you want a header block.

Duplicate any block instantly

One more neat shortcut to speed up your editing workflow: you can now duplicate any block by either hitting + D (on Mac) or Ctrl + D (on Windows), or by holding the Alt key and dragging.

If you use the shortcut, a duplicate of your active block will appear below. If you drag, you can place your block anywhere you like on the page.

And of course, it works for more than one block as a time, too — so you can select multiple blocks and duplicate them all with a quick tap.

Add color to inline icons

You can now select a color for inline icons when you add them to your content

This is great if you want to attract attention to certain parts of your page content — or if you just want an inline icon to match the color of your text .

There are six colors to choose from — and if your space is published on a site, you can also choose the primary and semantic colors for the site to align your icon perfectly with the surrounding text.

To change the color of the icon (or choose a different icon from the picker), simply right-click it in the editor.

Quote search for internal content

We now support exact phrase matching for internal search within GitBook.

If you want to find an exact phrase within your docs without bringing up similar matches in your search results, you can now add quotation marks around your text. Remove the quotation marks and the search will work the same way as before, highlighting close — but not exact — matches.

Improved
  • We now let you extend your trial by an extra seven days if you’ve already had a trial and return to GitBook to try it again.

  • When you create a new collection, you’ll now see a dialog prompting you to name it immediately.

  • If you’re adding a variant to your site — such as if you’re adding localized docs or docs for a previous product version — we’ve made the process more straightforward through your docs site’s settings page.

  • We’ve improved search results a little more:

    • First, your site search now sorts results within each section better before displaying them.

    • For in-app search, we now avoid showing default site space content from the same space you’re in, and we’ve fixed a bug that prevented OpenAPI pages from showing in search results.

Fixed
  • Fixed an issue with block selection that could make click-and-drag selection activate when your selection caused scrolling.

  • Fixed a bug that could sometimes cause AI search to return a “Something went wrong” error after loading the initial response.

  • Fixed a bug that meant that contributors who had updated the primary branch would sometimes appear as contributors in change requests in a space, even if they hadn’t directly contributed to the change request.

  • Fixed a bug that prevented a new comment from being displayed after reaching 100 comments in one change request or space.

  • Fixed a bug that would sometimes cause a crash if you were reviewing a change request that contained tab blocks.


We’re constantly working to improve the way you and your team work in GitBook, and value your input on features, bugs, and more. Make sure you head to our official GitBook community to join the discussion.

Last updated

Was this helpful?