Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
In addition to the default Markdown you can write, GitBook has a number of out-of-the-box interactive blocks you can use. You can find interactive blocks by pressing /
from within the editor.
Each tab is like a mini page — it can contain multiple other blocks, of any type. So you can add code blocks, images, integration blocks and more to individual tabs in the same tab block.
Add images, embedded content, code blocks, and more.
const handleFetchEvent = async (request, context) => {
return new Response({message: "Hello World"});
};
GitBook allows you to add images and media easily to your docs. Simply drag a file into the editor, or use the file manager in the upper right corner to upload multiple images at once.
You can sync GitBook pages with an OpenAPI or Swagger file or a URL to include auto-generated API methods in your documentation.
GitBook's OpenAPI block is powered by Scalar, so you can test your APIs directly from your docs.
GitBook supports many different types of content, and is backed by Markdown — meaning you can copy and paste any existing Markdown files directly into the editor!
Feel free to test it out and copy the Markdown below by hovering over the code block in the upper right, and pasting into a new line underneath.
# Heading
This is some paragraph text, with a [link](https://docs.gitbook.com) to our docs.
## Heading 2
- Point 1
- Point 2
- Point 3
GitBook has a powerful block-based editor that allows you to seamlessly create, update, and enhance your content.
GitBook offers a range of block types for you to add to your content inline — from simple text and tables, to code blocks and more. These elements will make your pages more useful to readers, and offer extra information and context.
Either start typing below, or press /
to see a list of the blocks you can insert into your page.
Once you’ve finished writing, editing, or importing your content, you can publish your work to the web as a docs site. Once published, your site will be accessible online only to your selected audience.
You can publish your site and find related settings from your docs site's homepage.
Add a new pet to the store.
10
doggie
pet status in the store
POST /api/v3/pet HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 133
{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
},
"photoUrls": [
"text"
],
"tags": [
{
"id": 1,
"name": "text"
}
],
"status": "available"
}
{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
},
"photoUrls": [
"text"
],
"tags": [
{
"id": 1,
"name": "text"
}
],
"status": "available"
}
CongNghePhone.help là một website chia sẻ kiến thức công nghệ dành cho mọi đối tượng – từ người dùng phổ thông đến người đam mê kỹ thuật. Nếu bạn đang tìm một nơi cập nhật kiến thức công nghệ rõ ràng, dễ hiểu mà không bị “quá chuyên sâu” hay khô khan, thì đây là nơi nên ghé qua!
✅ Tin tức công nghệ chọn lọc: Những cập nhật mới nhất về iPhone, Android, các nền tảng công nghệ nổi bật.
✅ Fact thú vị – dễ đọc – dễ nhớ: Không chỉ cung cấp tin tức, website còn chia sẻ các fact công nghệ mang tính giáo dục nhưng rất “giải trí”.
✅ Tối ưu cho người không chuyên: Giao diện đơn giản, dễ đọc, tốc độ tải nhanh – phù hợp cả với người mới bắt đầu tìm hiểu công nghệ.
✅ Không quảng cáo khó chịu: Trải nghiệm người dùng được ưu tiên hàng đầu.
Nội dung nổi bật có thể tìm thấy trên CongNghePhone.help
Lịch sử công nghệ: Website đầu tiên, chiếc iPhone đầu tiên, cột mốc internet...
Hướng dẫn cơ bản: Các khái niệm như DNS, IP, HTTP, bảo mật cá nhân...
Thủ thuật hữu ích: Dành cho người dùng smartphone, laptop, bảo vệ thông tin số...