1. Syntax Highlighting
inference.py
import torch
def predict(model, input):
# This line is highlighted
return model(input)2. LaTeX Mathematical Equations
Example of an inline equation: \( E = mc^2 \).
Example of a block equation:
$$ \int_{a}^{b} x^2 dx = \frac{1}{3}(b^3 - a^3) $$3. Diagrams with Mermaid.js
graph TD
A[Start] --> B{Is it AI?}
B -- Yes --> C[Edge Inference]
B -- No --> D[Embedded Control]
C --> E[AIoT Product]
D --> E4. Custom Shortcodes
Callouts
This is an information box. It uses a blue left border.
Be careful! This is a warning message.
Critical failure! Something went wrong.
Interactive Cards
Collapsible Details
Click to reveal technical details
Here is some hidden content that is only visible when expanded.
- Item 1
- Item 2