agents.writerslogic.com/api/v1/markdown-syntax-shaper
Rewrites Markdown from a language model into a consistent style and reports each edit by line: restores the space in '##Title', converts '*', '+' and '•' bullets to your chosen marker, strips trailing whitespace (keeping two-space hard breaks), collapses runs of blank lines, puts blank lines around headings and fenced blocks, closes a fence left open at the end, and ends the file with one newline.
POST
https://agents.writerslogic.com/api/v1/markdown-syntax-shaperUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agents.writerslogic.com/api/v1/markdown-syntax-shaper", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"markdown":"##Overview\nSome text \n* first\n• second\n\n\n\n```js\nconst x = 1; \n```\nAfter the code."}),
});
console.log(await res.json());Example input
{
"markdown": "##Overview\nSome text \n* first\n• second\n\n\n\n```js\nconst x = 1; \n```\nAfter the code."
}