Summary: Substack is the canonical long-form platform in the cross-posting hierarchy. It supports native footnotes, LaTeX math, code blocks, image galleries, audio embed, and paid subscriptions. Publishing workflow: write in wiki → export to Substack with canonical URL → distribute condensed versions to LinkedIn/X.


Platform Role in Hierarchy

Owned Domain (ahsan.ai) ← canonical
       ↑
Substack (ahsan.ai subdomain or custom) ← canonical for newsletter
       ↓ syndicate
LinkedIn Article (condensed, link to canonical)
       ↓
X/Twitter Thread (section-by-section, link in reply)

Substack Features for Technical Content

Feature Support Notes
LaTeX Math ✅ Native `
...

inline/block | | **Code Blocks** | ✅ Native | Syntax highlighting (100+ langs) | | **Footnotes** | ✅ Native |[^1]syntax, auto-numbered | | **Image Galleries** | ✅ Native | Drag-drop, captions, lightbox | | **Audio Embed** | ✅ Native | Podcast episodes | | **Paid Subscriptions** | ✅ Native | Free + paid tiers | | **SEO** | ✅ Good | Custom slugs, meta, canonical | | **Custom Domain** | ✅ Native |blog.ahsan.aiorahsan.ai/newsletter` | | Import/Export | ✅ JSON/HTML | Migration friendly |


Publishing Workflow

1. Write in Wiki (Source of Truth)

  • File: wiki/blogs/slug.md
  • Frontmatter: full schema (title, slug, tags, sources, related_concepts)
  • Content: Full depth with Mermaid, LaTeX, code, tables
  • Internal links: <span class="wikilink unresolved">concept-slug</span>

2. Export to Substack

  • Manual: Copy Markdown → Substack editor (preserves most formatting)
  • Automated (future): Script wiki → Substack API
  • Canonical URL: Set in Substack post settings → https://ahsan.ai/blog/slug

3. Configure Canonical

<!-- In Substack post settings -->
<link rel="canonical" href="https://ahsan.ai/blog/slug" />

4. Publish & Distribute

Platform Format Timing
Substack Full post + email Day 0
LinkedIn Condensed post (template) Day 0–1
X/Twitter Thread (1 tweet/section) Day 0–1
Owned Domain Full HTML (wiki → HTML) Day 0

Substack Post Template

# Title (matches wiki title)

> **TL;DR** 2-3 sentence executive summary

---

## Introduction
Hook → Gap → Payoff

## Background (The "Why")
Context, linked concepts <span class="wikilink unresolved">concept-slug</span>

## Core Idea (The "What")
Key insights, analogies, diagrams

## Technical Deep Dive (The "How")
Mermaid diagrams, LaTeX equations, code blocks


> **Diagram:** (Mermaid diagram - view source for diagram code)
> ```
graph LR
    A[Input] --> B[Process] --> C[Output]
> ```


## Practical Implications
### For Researchers
### For Practitioners
### For Resource-Constrained

## Experiments / Evidence
| Setting | Metric | Result |

## Limitations & Honest Assessment

## Future Directions

## Related Work
- <span class="wikilink unresolved">concept-slug</span> — How it connects

## Further Reading
- <span class="wikilink unresolved">source-id</span> — Primary paper
- <span class="wikilink unresolved">project-slug</span> — Your implementation

---

**Canonical:** https://ahsan.ai/blog/slug
**Subscribe:** [Footer CTA]

Metadata Checklist (Per Post)

  • Canonical URL set to https://ahsan.ai/blog/slug
  • Meta description (150–160 chars, keyword front-loaded)
  • Title tag (<60 chars, unique)
  • og:image = hero diagram (1200×630)
  • og:title, og:description match
  • twitter:card = summary_large_image
  • Structured data (BlogPosting) injected
  • Tags: 5–8 relevant, mix broad + specific
  • Series: Add to series if applicable
  • Paid/free: Decide per post strategy

Related Concepts


Sources