Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
{
"id": 1783863009397,
"slug": "writing-your-first-physicshub-blog-post",
"title": "Writing Your First PhysicsHub Blog Post",
"desc": "A quick guide to using the blog editor — Visual Editor, JS Editor, and Preview modes explained.",
"thumbnail": "",
"tags": ["EASY", "MEDIUM"],
"sections": [
{
"blocks": [
{ "type": "sectionTitle", "text": "🎨 Getting Started" },
{
"type": "paragraph",
"text": "Welcome! This is a **visual editor** where you can edit text directly, drag blocks to reorder them, and add content with one click."
},
{
"type": "callout",
"calloutType": "info",
"title": "Two Modes",
"text": "Switch between **Visual Editor** (easy editing) and **JSON Editor** (advanced) using the tabs above."
}
]
},
{
"blocks": [
{ "type": "sectionTitle", "text": "✏️ Editing Basics" },
{
"type": "paragraph",
"text": "**Click any text** to edit it. **Hover over blocks** to reveal controls: drag handle (⋮⋮), duplicate (⎘), and delete (×)."
},
{
"type": "callout",
"calloutType": "tip",
"title": "Text Formatting",
"text": "Use **double asterisks** for bold: \\*\\*text\\*\\* becomes **text**"
}
]
},
{
"blocks": [
{ "type": "sectionTitle", "text": "➕ Block Types" },
{
"type": "paragraph",
"text": "Use the **toolbar buttons** at the top to add blocks:"
},
{
"type": "list",
"items": [
"**¶** Paragraph - Regular text",
"**H** Section Title - Large section heading (H2)",
"**H** Heading - Subsection title (H3)",
"**</>** Code - Syntax highlighted code",
"**√** Formula - LaTeX math equations",
"**≡** List - Bullet or numbered lists",
"**ⓘ** Callout - Info, warning, tip, success boxes",
"**⊞** Table - Editable data tables",
"**⊡** Image - Images with captions"
],
"ordered": false
}
]
},
{
"blocks": [
{ "type": "sectionTitle", "text": "📝 Examples" },
{
"type": "code",
"code": "// Code with syntax highlighting\nconst hello = () => {\n console.log('Hello!');\n};",
"language": "javascript"
},
{ "type": "formula", "latex": "E = mc^2", "inline": false },
{
"type": "table",
"columns": ["Feature", "Status"],
"data": [
{ "Feature": "Direct Editing", "Status": "✓" },
{ "Feature": "Drag & Drop", "Status": "✓" },
{ "Feature": "Bold Text", "Status": "✓" }
]
},
{
"type": "callout",
"calloutType": "success",
"title": "Ready!",
"text": "Delete this guide and start creating your content!"
}
]
}
]
}
Loading