Skip to main content
Glama

substack_add_code_block

Insert code blocks into Substack drafts with syntax highlighting and optional captions for technical content.

Instructions

Add a code block to a draft

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
draft_idYes
codeYesCode content
languageNoProgramming language
filenameNoOptional filename
captionNoOptional caption/explanation

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/arthurcolle/substack-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server