Apifox Markdown English
  1. Components
Apifox Markdown English
  • Welcome to Apifox Markdown
  • Basic Syntax and Features
    • Title and Text
    • Lists & Tables
    • Image
    • Video
    • Code
    • Icon
    • Tailwind CSS Supports
  • Components
    • Admonition
    • Hightlight
    • Accordion
    • AccordionGroup
    • Multiple Columns
    • Card
    • Card Group
    • Image Frame
    • Image Background
    • Step
    • Tab
    • Tip
    • Copy to Clipboard
    • Text Hover Tip
    • Container
    • Text Drawing - Mermaid
      • Graph
      • Sequence Diagram
      • Class Digram
      • State Diagram
      • Entity Relationship Diagram
      • Journey Map
      • Gantt Chart
      • Pie Chart
    • Formula
      • Inline Formula
      • Block-level Formula
  • Other Questions
    • Shortcuts
  1. Components

Container

Define a container component using the <Container> tag.

Example#

Content
Code:
<Container>
    Content
</Container>

Using Tailwind CSS Styles with the class Attribute#

1
Step 1
This is the content of step 1.
2
Step 2
This is the content of step 2.
Code:
<Container class="text-center text-xl font-bold" style="">
    <Steps>
        <Step title="Step 1">
            This is the content of step 1.
        </Step>
        <Step title="Step 2">
            This is the content of step 2.
        </Step>
    </Steps>
</Container>
Container content follows Markdown syntax.

Defining Styles Directly with style#

1
Step 1
This is the content of step 1.
2
Step 2
This is the content of step 2.
Code:
<Container class="text-center text-xl font-bold" style="background-color: #f0f0f0; padding: 10px;">
    <Steps>
        <Step title="Step 1">
            This is the content of step 1.
        </Step>
        <Step title="Step 2">
            This is the content of step 2.
        </Step>
    </Steps>
</Container>

Parameter Description#

Container

Modified at 2024-06-28 04:19:54
Previous
Text Hover Tip
Next
Graph
Built with