Page Structure & Markdown Formatting Guide
Creating and Editing Pages in GitBook
How to Edit an Existing Page
Locate the page in the folder hierarchy.
Each page in GitBook maps directly to a file in the GitHub repository.

Make required changes (content, formatting, links, images, etc.).
Commit the changes.
When You Add a New Page
How to Add a New Connector Entry
To list a new connector in the documentation, follow the steps below. These steps ensure the connector appears correctly in the Connectors list, Supported Connectors table, and the GitBook sidebar.
Markdown Basics
This section provides the essential formatting rules for writing clean, consistent, and well-structured documentation using Markdown. Each topic includes examples, best practices, and recommended usage guidelines to ensure clarity and readability across all content.
For additional reference, you may also review the official formatting guide: GitBook Formatting Guide
Headings (Titles and Sections)
Use the
#symbol to create headings.Each additional # level represents a sub-heading.
Example
Guidelines
Only H1 and H2 appear in most Table of Contents panels.
Do not skip heading levels (use H1 → H2 → H3 in proper order).
Keep headings clear and concise.
Text Styling
Bold
**Bold text**
Bold text
Italic
*Italic text*
Italic text
Inline Code
`OIM_HOME/bin`
OIM_HOME/bin
Strikethrough
~~Incorrect text~~
Incorrect text
Lists
Bullet List
You can create bullet lists using either * or -.
Example (Using *)
Rendered Output:
First point
Second point
Example (Using -)
Rendered Output:
First point
Second point
Numbered List
Numbered lists use numbers followed by a period:
Example
Rendered Output:
Step one
Step two
Step three
Notes and Warnings
You can create callout-style messages using blockquotes.
Note Example:
Rendered Output
Note: Restart service after configuration.
Warning Example:
Rendered Output
Warning: Do not delete this folder.
Angle Brackets < and >
< and >Escape < and >
<tag> instead of <tag>
<tag>
Code Blocks (Multiple Lines)
Use triple backticks to create multi-line code blocks.
You can also specify the language to enable syntax highlighting.
JSON Example (How to Write It)
Rendered Output
XML Example (How to Write It)
Rendered Output
Bash Example (How to write It)
Rendered Output
Images
Store all images inside the
docs/assetsdirectory.Any project should reference images from this central folder.
Image Reference Syntax
Basic Image
Syntax:
Rendered Output

Centered Image
Syntax:
Rendered Output

Image Naming Rules
Avoid spaces in file names.
Use lowercase for consistency.
Use dashes (-) or underscores (_).
Image Path Guidelines
integrate/advanced-scenario/source-delete-sync.md
../../assets/x.png

help-center/error.md
../assets/x.png

Embedding Videos
You can embed videos directly into documentation pages using the
{% embed %}tag.YouTube Embed Example
Video Storage Rules
Video files cannot be uploaded directly into the repository.
To include video content, follow these guidelines:
Upload all videos to YouTube.
Ensure the video is publicly visible.
Use the
embedtag to insert the video link into your documentation pages.
Reusable Content
Reusable content allows you to maintain common text (such as repeated instructions or configuration notes) in a single location and include it across multiple pages.
This helps ensure consistency, easy maintenance, and automatic updates whenever the shared content changes.
All reusable Markdown files should be stored inside:
.gitbook/includes.How to Include a Reusable File:
Use the
{% include %}tag to pull shared content into any page. Example:
Notes:
Any change in the included file updates all pages automatically.
GitBook does not create a TOC (index) for included files.
If indexing is required, split content into smaller include files.
Links
Internal
[Integration Setup](../integrate/setup.md)
External
[OpsHub Website](https://www.opshub.com)
Anchor
[Go to Configuration](#configuration)
Tables
Markdown Table
Markdown supports simple, clean tables for organizing structured information.
Basic Syntax
Use | (pipe characters) to define columns and - (dashes) to separate the header row:
Rendered Output
Column 1Column 2Column 3Value 1
Value 2
Value 3
Notes:
All rows must have the same number of columns.
Alignment is optional and can be added using colons (:).
Card View HTML Table
You can use cards to create a visually engaging page layout, combining text, links, and optional images in a clean, grid-based structure.
Example:
Conditional Blocks
Conditional blocks allow you to show or hide content depending on selected product variables (e.g., OIM vs OM4ADO).
Example: Show content only when SITENAME = "OpsHub Integration Manager":
Variable File (vars.yaml)
vars.yaml)Variables are defined inside:
.gitbook/vars.yamlThese variables allow GitBook to automatically render variable's value across all documentation.
Example (vars.yaml):
Usage
To insert the value of a variable inside your documentation:
Rendered Output:
(This replaces the variable with its actual value.)
Last updated


