Why Nostr? What is Njump?
2023-08-22 12:45:42

faried nawaz on Nostr: npub1ehd7m…nudlw i might be wrong here, but it seems like when you make a markdown ...

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>",
Author Public Key
npub1kvgakrrectgsghjr9r8n0nz639xhaqj5yyfmxcwsjljrc6g4hxxsqlcqs9