S
StarLaker
Jul 1, 20263 min read

Markdown Formatting Demo: All Features at a Glance

A comprehensive showcase of every Markdown feature supported by StarLaker — headings, code blocks, tables, blockquotes, and more.

MarkdownGuide

Heading Level 1

Heading Level 2

Heading Level 3

Heading Level 4

This is a paragraph with bold text, italic text, and strikethrough. You can also use inline code within sentences.

This is a link that opens in the same window.

Lists

Unordered

  • First item
  • Second item
    • Nested item
    • Another nested item
  • Third item

Ordered

  1. Step one
  2. Step two
    1. Sub-step A
    2. Sub-step B
  3. Step three

Blockquotes

This is a blockquote. It can span multiple lines and is great for highlighting quotes or important callouts.

Anonymous

Code Blocks

JavaScript

function fibonacci(n) {
  if (n <= 1) return n;
  return fibonacci(n - 1) + fibonacci(n - 2);
}

console.log(fibonacci(10)); // 55

TypeScript

interface Post {
  id: string;
  title: string;
  content: string;
  tags: string[];
  status: "draft" | "published";
}

async function publishPost(post: Post): Promise<void> {
  const response = await fetch("https://starlaker.com/api/v1/posts", {
    method: "POST",
    headers: {
      "Authorization": `Bearer ${process.env.STARLAKER_KEY}`,
      "Content-Type": "application/json",
    },
    body: JSON.stringify(post),
  });
  if (!response.ok) throw new Error(`Failed: ${response.statusText}`);
}

Python

def calculate_reading_time(text: str, wpm: int = 200) -> float:
    word_count = len(text.split())
    return word_count / wpm

article = "This is a sample article..."
print(f"Reading time: {calculate_reading_time(article):.1f} minutes")

Shell

curl -X POST https://starlaker.com/api/v1/posts \
  -H "Authorization: Bearer $STARLAKER_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title":"Hello","content":"# My Post","status":"published"}'

Tables

Feature Status Priority
Markdown Editor ✅ Done High
API Publishing ✅ Done High
Team Collaboration ✅ Done Medium
Custom Domains 🚧 In Progress Medium
Email Newsletters 📋 Planned Low

Horizontal Rules

Use three dashes to create a horizontal rule:


Mixed Content

TL;DR: StarLaker supports full Markdown with syntax highlighting, tables, and more. Write in any editor and publish via API.

  1. Write your content in Markdown
  2. Preview before publishing
  3. Publish with a single command

That covers everything! ✨

Comments (0)

No comments yet. Be the first to share your thoughts.

S
StarLaker500 followers

The official StarLaker publication.