Skip to content

Commit 23035d3

Browse files
emmerichgitbook-bot
authored andcommitted
GITBOOK-609: Document Buttons + add some calls to action.
1 parent 8476d4d commit 23035d3

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
icon: book-open
32
description: >-
43
Create and publish beautiful documentation your users will love. GitBook has
54
all the tools you need to create everything from product guides to API
65
references and beyond.
6+
icon: book-open
77
layout:
88
title:
99
visible: true
@@ -21,7 +21,7 @@ layout:
2121

2222
At GitBook, our mission is to provide a **user-friendly** and **collaborative** solution for creating, editing, and sharing product and API documentation.
2323

24-
Head to our [Quickstart guide](getting-started/quickstart.md) to set up your first docs site in minutes.
24+
<a href="https://app.gitbook.com/join" class="button primary">Sign up</a> <a href="getting-started/quickstart.md" class="button secondary">Quickstart</a>
2525

2626
### Discover GitBook&#x20;
2727

creating-content/formatting/inline.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Use the inline palette to add images, links, math & TeX, and more
44

55
# Inline content
66

7-
<figure><img src="../../.gitbook/assets/10_01_25_inline_content.svg" alt=""><figcaption><p>Add inline content to your content.</p></figcaption></figure>
7+
<figure><img src="../../.gitbook/assets/10_01_25_inline_content.svg" alt=""><figcaption><p>Add inline elements to your content.</p></figcaption></figure>
88

99
The inline palette lets you quickly add extra content to your text block without moving your hands away from the keyboard. Simply hit `/` on any text block to open the inline palette. The forward slash will be replaced by the content you choose to insert.
1010

@@ -101,3 +101,11 @@ Using this option, you can create an inline math formula in your content, like t
101101
{% hint style="info" %}
102102
You can also insert [a block-level math formula](../blocks/math-and-tex.md) by opening the command palette in an empty block and choosing the second Math & TeX option.
103103
{% endhint %}
104+
105+
### Buttons
106+
107+
Buttons are a great way to describe calls to action. You can use them to send users to other pages in GitBook, or to external URLs.
108+
109+
Buttons have both primary and secondary styles. Here are a couple of examples:
110+
111+
<a href="https://app.gitbook.com/join" class="button primary">Sign up to GitBook</a> <a href="inline.md#annotations" class="button secondary">Go to top</a>

getting-started/quickstart.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ icon: bolt
77

88
### Getting started
99

10-
You’ll need a GitBook account to start publishing documentation. If you don’t already have an account, you can sign up for free [here](https://app.gitbook.com/join).
10+
You’ll need a GitBook account to start publishing documentation.
11+
12+
<a href="https://app.gitbook.com/join" class="button primary">Sign up</a>
1113

1214
### Create a docs site
1315

0 commit comments

Comments
 (0)