# 8 July: Custom code fonts, make your API spec public and more

## ✨ New and noteworthy

### Set a custom monospace font for code blocks

You’ve been able to [upload a custom font](https://gitbook-v2-7bmjl7cmq-gitbook.vercel.app/url/gitbook.com/docs/changelog/april-2025/1-april-new-and-improved-tables-announcement-banners-custom-fonts-and-more#use-custom-fonts-on-your-docs-site) for your docs for a while — but now you can do the same for a monospace font for [code blocks](https://app.gitbook.com/s/NkEGS7hzeqa35sMXQZ4X/creating-content/blocks/code-block) and inline code.

To change your code font, head into [your site’s **Customization** panel](https://app.gitbook.com/s/NkEGS7hzeqa35sMXQZ4X/publishing-documentation/customization) and select from the **Monospace font** dropdown menu.

<figure><img src="https://2672413337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPGZZo1PCN4rYgFLPD8Cl%2Fuploads%2FkwUZ9amfVCUBJwauN1Gz%2Fmonospace-fonts.jpg?alt=media&#x26;token=7be400e4-3f50-4e21-8638-184ec0d8f7a0" alt=""><figcaption></figcaption></figure>

### Share your OpenAPI spec from your docs

You can now choose to generate a publicly-accessible URL for your [OpenAPI specification](https://app.gitbook.com/s/NkEGS7hzeqa35sMXQZ4X/api-references/openapi) once you’ve added it to GitBook — as long as your specification is marked as public. The URL will always point to the latest version of your specification.

With GitBook hosting your spec, it’s easy to use it both to [instantly generate docs](https://app.gitbook.com/s/NkEGS7hzeqa35sMXQZ4X/api-references/openapi/insert-api-reference-in-your-docs#automatically-create-openapi-pages-from-your-spec), and in external OpenAPI-based tools like Stainless, Postman or others.

Head into the **OpenAPI** section in the GitBook sidebar and find the API you want to make public — then simply hit the toggle.

### Improved notification emails

Last month we [improved a few of our emails](https://gitbook-v2-7bmjl7cmq-gitbook.vercel.app/url/gitbook.com/docs/changelog/june-2025/10-june-new-customization-styles-email-improvements-dark-mode-cover-images-and-more#new-notification-email-design) with a better design and more context about the subject — and we mentioned we’d be doing the same to more emails soon.&#x20;

Well, now we have! Our emails now all use this new improved style :sparkles:

### Simplified site creation flow

When you create a new site, you’ll now see a dashboard that’s more tailored to what you want to do.&#x20;

First, you’ll see four large options at the top to offer you different ways to add content to your site — including [Git Sync](https://app.gitbook.com/s/NkEGS7hzeqa35sMXQZ4X/getting-started/git-sync), OpenAPI spec upload, and import options.

Below that, you’ll also see four site templates to help you get started with an all-new site faster by adding content to an established structure.

<figure><img src="https://2672413337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPGZZo1PCN4rYgFLPD8Cl%2Fuploads%2FIesrhd0d9cs42iBpu5ZT%2Fnew-site-screen.jpg?alt=media&#x26;token=59ac11c1-cf69-4553-9525-3425b7cdf929" alt=""><figcaption></figcaption></figure>

Finally, you’ll see a list of all your existing content within GitBook, along with a search bar, allowing you to quickly add existing content to your site and publish with a click.

These changes should make it easier to create an publish your site fast :race\_car::dash:

<details>

<summary>Improved</summary>

* Table blocks and expandable blocks now support diff view more effectively. Before, editing any part of a table would show the entire table as being deleted and a new one created in diff view. The same went for changes in an expandable block. Now, the table or expandable shows as edited and the individual changes are highlighted within the block.
* We’ve added icons to diff view to make diffs accessible for color-blind users Make diff accessible to colour-blind users.
* You’ll now see a new option to visit the a published page’s live version in the **Actions menu** <picture><source srcset="https://2672413337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPGZZo1PCN4rYgFLPD8Cl%2Fuploads%2FkixcrcbwaIFBTlO0PGzx%2Factions-dark.svg?alt=media&#x26;token=cf2d0f65-ce2b-4862-96ef-c0cb118bd456" media="(prefers-color-scheme: dark)"><img src="https://2672413337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPGZZo1PCN4rYgFLPD8Cl%2Fuploads%2Feau6xpR5czwHgUx2Fx2I%2Factions-light.svg?alt=media&#x26;token=264689bb-f225-48fc-b8e5-d64dd9d7966f" alt=""></picture> for individual page. This is especially useful for hidden pages that are otherwise difficult to access via URL.
* We no longer show captions on image and code blocks in the editor by default. Captions added a lot of white space in the editor, meaning big gaps between content if you didn’t want to add a caption. Now they won’t appear by default, but you can add one by hovering the image and clicking **Caption** in the menu that appears.

- You can now use keyboard shortcuts to insert new rows in tables. Hit <kbd>Enter ⏎</kbd> to move down or <kbd>Shift ⇧</kbd> + <kbd>Enter ⏎</kbd> to move up between rows. Then hit <kbd>Option ⌥</kbd> + <kbd>Enter ⏎</kbd> to add a row below, or hit <kbd>Shift ⇧</kbd> + <kbd>Option ⌥</kbd> + <kbd>Enter ⏎</kbd>  to add a row above.

* You can now convert H1, H2 and H3 heading blocks to other heading styles by adding # at the beginning of a row.
* We’ve added a confirmation button to the annotation and Math popover when adding them inline. Your changes are saved automatically, but it helps reassure users that their changes are saved.
* We now check that uploading files are compatible with inserting into GitBook before you upload them to avoid wasted uploads.
* We’ve updated the **Docs sites** screen to make it easier to find and open your site.

</details>

<details>

<summary>Fixed</summary>

* Fixed an issue that meant the comments button in a change request would show the wrong count.
* Fixed an issue that meant removing the dark mode logo for a site would also remove the light mode version of the logo. Now it will only remove the dark mode logo as expected.
* Fixed a bug in the Layout section of the **Customization** menu that meant it was sometimes impossible to select certain spaces or pages to link to.
* Fixed an issue that was causing the Markdown formatting soft line breaks to be incorrectly parsed in Git Sync.
* Fixed a bug that made the code block toolbar editable.
* Restored the ability to reinstall integrations on every space after uninstalling on one or two spaces.
* Fixed a bug that caused emojis to be removed from table of contents when syncing from GitHub
* Fixed a bug that meant hidden pages were hidden from everyone in the GitBook app and could only be seen by those with editor permissions or above within change requests. Now, members with editor permissions and above will see hidden pages in the table of contents.
* Fixed an issue that meant hitting <kbd>Shift</kbd> + <kbd>Enter</kbd> would not insert a new line in a table cell.
* Fixed an issue that meant the number of commenters you could filter by in the Comments side panel was limited to 10. The new limit is 50.
* Fixed an issue that meant some images were being presented at a larger size than their original dimensions when clicked in GitBook. The images will now only appear at their original size at a maximum.
* Fixed a bug that caused images that you chose to ‘Quick look’ in the Images modal to appear behind the modal rather than in front of it.

</details>

***

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](https://github.com/GitbookIO/community) to join the discussion.
