faried nawaz on Nostr: npub1ehd7m…nudlw i might be wrong here, but it seems like when you make a markdown ...
npub1ehd7mhavte7e4v0dcy2sx4qzt5s2ft3vjdlx66qrl06kclsh7slqgnudlw (npub1ehd…udlw) i might be wrong here, but it seems like when you make a markdown post with fedilab, it uses the mediaType of text/plain. is that correct? shouldn’t that be text/markdown?
i can enter markdown natively in pleroma, using its default frontend. here’s the difference i see in the db:
pleroma:
"source": {
"content": "```\r\ntired: bitcoin\r\nwired: nvidia h100\r\n```",
"mediaType": "text/markdown"
},
"content": "<pre><code>tired: bitcoin\nwired: nvidia h100\n</code></pre>",
fedilab:
"source": {
"content": "fedilab test\n\n*italic*?\n**bold**?",
"mediaType": "text/plain"
},
"content": "fedilab test<br><br>*italic*?<br>**bold**?",
husky also supports markdown:
"source": {
"content": "_relax_\n\n~~okay~~",
"mediaType": "text/markdown"
},
"content": "<p><em>relax</em></p><p><del>okay</del></p>",
Published at
2023-08-22 12:45:42Event JSON
{
"id": "4f900725a1aa2c0eef6658bf094c7819d651be35e9483a117671eaff3ceaf91b",
"pubkey": "b311db0c79c2d1045e4328cf37cc5a894d7e82542113b361d097e43c6915b98d",
"created_at": 1692708342,
"kind": 1,
"tags": [
[
"p",
"cddbeddfac5e7d9ab1edc1150354025d20a4ae2c937e6d6803fbf56c7e17f43e",
"wss://relay.mostr.pub"
],
[
"p",
"083f529ebf71aa6db84e7b4b84c370d6da10652d6d8269b8c20835fcf83356c3",
"wss://relay.mostr.pub"
],
[
"proxy",
"https://p.node.pk/objects/91fa5489-b631-465f-90fd-8a2c88b3e49c",
"activitypub"
]
],
"content": "nostr:npub1ehd7mhavte7e4v0dcy2sx4qzt5s2ft3vjdlx66qrl06kclsh7slqgnudlw i might be wrong here, but it seems like when you make a markdown post with fedilab, it uses the mediaType of text/plain. is that correct? shouldn’t that be text/markdown?\n\ni can enter markdown natively in pleroma, using its default frontend. here’s the difference i see in the db:\n\npleroma:\n\n \"source\": {\n \"content\": \"```\\r\\ntired: bitcoin\\r\\nwired: nvidia h100\\r\\n```\",\n \"mediaType\": \"text/markdown\"\n },\n \"content\": \"\u003cpre\u003e\u003ccode\u003etired: bitcoin\\nwired: nvidia h100\\n\u003c/code\u003e\u003c/pre\u003e\",\n\n\nfedilab:\n\n \"source\": {\n \"content\": \"fedilab test\\n\\n*italic*?\\n**bold**?\",\n \"mediaType\": \"text/plain\"\n },\n \"content\": \"fedilab test\u003cbr\u003e\u003cbr\u003e*italic*?\u003cbr\u003e**bold**?\",\n\n\nhusky also supports markdown:\n\n \"source\": {\n \"content\": \"_relax_\\n\\n~~okay~~\",\n \"mediaType\": \"text/markdown\"\n },\n \"content\": \"\u003cp\u003e\u003cem\u003erelax\u003c/em\u003e\u003c/p\u003e\u003cp\u003e\u003cdel\u003eokay\u003c/del\u003e\u003c/p\u003e\",\n",
"sig": "815fedc9f8bdfd649f0cc389dbd517addb2f44a7c490c14ae58ac8e2346d6ac91113278b0ae46e58a63f888168157fe79180153435fbc3b9c7020a07a6b98c59"
}