Peter van Dijk on Nostr: if you use Hugo (or any Markdown platform really) for posting articles/blogs, and you ...
if you use Hugo (or any Markdown platform really) for posting articles/blogs, and you want to share a draft with somebody, a simple trick is pasting the entire post into
https://gist.github.com/ and entering something.md as the filename.
GitHub's Markdown rendering is top notch. Anchor links within the post work, etcetera. Images won't work, unless they're hosted somewhere else I guess.
Published at
2024-07-06 22:53:33Event JSON
{
"id": "e8ec67dceeac71f1f95b0f170b25fdde1c7495e00675c03e49e649656c47a4fe",
"pubkey": "7b85b12cb7a4ab6914a9f8e5c3cd005d93e75a37b8c3b79abdfc4b6c617b4cb4",
"created_at": 1720306413,
"kind": 1,
"tags": [
[
"proxy",
"https://fosstodon.org/users/habbie/statuses/112742001105830747",
"activitypub"
]
],
"content": "if you use Hugo (or any Markdown platform really) for posting articles/blogs, and you want to share a draft with somebody, a simple trick is pasting the entire post into https://gist.github.com/ and entering something.md as the filename.\n\nGitHub's Markdown rendering is top notch. Anchor links within the post work, etcetera. Images won't work, unless they're hosted somewhere else I guess.",
"sig": "160fec963a5211fc41cf712db325cd457bf03c805e474321ffbda09f438f1319719b7c8014f715e9ece1e5c3c94f394bcd6d888032016600e24a22ef7f0ce93e"
}