Ernie Smith on Nostr: Free tip for anyone trying to work with both Markdown, shortcodes, and MJML in ...
Free tip for anyone trying to work with both Markdown, shortcodes, and MJML in Eleventy like I am: Wrap the whitespace in an <mj-raw> tag. It works wonders.
Published at
2025-01-16 16:48:05Event JSON
{
"id": "d20a9f4db40b28ded3f905495e764b3522fa3c216f86635407b640596c8cbcc8",
"pubkey": "d8915cc82183398d49f6c20d0975438827df47464d0148e0c7bf8349d8e95548",
"created_at": 1737046085,
"kind": 1,
"tags": [
[
"e",
"579770d7664fbe01313d53377a2117eb34036e076cf8367a6034378bb0fa1596",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://writing.exchange/users/ernie/statuses/113839052259352791",
"activitypub"
]
],
"content": "Free tip for anyone trying to work with both Markdown, shortcodes, and MJML in Eleventy like I am: Wrap the whitespace in an \u003cmj-raw\u003e tag. It works wonders.",
"sig": "1a9ec854b01562e7d1c47ad8687be887e04fb346ec7933dbaff842fc60e0c32ae057ec25b829103f866ce4dc9de73e5d6eb098b857bfb936c7450da1e3322df3"
}