حمید پیام عباسی@crazypeople.online to Memes@lemmy.mlEnglish · 28 days agoYeah, well, I'm gonna go build my own lemmy. With blackjack and hookers! In fact forget the lemmy.lemmy.mlimagemessage-square129fedilinkarrow-up1140arrow-down116
arrow-up1124arrow-down1imageYeah, well, I'm gonna go build my own lemmy. With blackjack and hookers! In fact forget the lemmy.lemmy.mlحمید پیام عباسی@crazypeople.online to Memes@lemmy.mlEnglish · 28 days agomessage-square129fedilink
minus-squareEdie [it/it/its/its/itself, she/her/her/hers/herself]@lemmy.mllinkfedilinkarrow-up5·edit-228 days ago
minus-squareferric_carcinization@lemmy.mllinkfedilinkEnglisharrow-up4·28 days agoBut it shouldn’t do that when enclosed in a code/preformatted block?
minus-squareEdie [it/it/its/its/itself, she/her/her/hers/herself]@lemmy.mllinkfedilinkarrow-up5·28 days agoIt shouldn’t but the markdown parser is for whatever reason not that good.
minus-squareferric_carcinization@lemmy.mllinkfedilinkEnglisharrow-up2·28 days agoLooks like it’s using markdown-it, a Rust port of a JavaScript library with the same name. It looks unmaintained. Last commit is from 2 years ago and issues look inactive. (including one asking asking about the maintenance status)
minus-squareEdie [it/it/its/its/itself, she/her/her/hers/herself]@lemmy.mllinkfedilinkarrow-up4·28 days agoI believe the frontend uses markdown-it proper.
minus-squareferric_carcinization@lemmy.mllinkfedilinkEnglisharrow-up2·28 days agoI think that it’s the backend that screws the “url” up. Everything looks good in the preview, but the “url” part disappears upon publishing.
minus-squareEdie [it/it/its/its/itself, she/her/her/hers/herself]@lemmy.mllinkfedilinkarrow-up4·edit-228 days agodeleted by creator
minus-squareferric_carcinization@lemmy.mllinkfedilinkEnglisharrow-up3·28 days agoIt only becomes an image to me when outside of a code/preformatted block. Inside of one, it contains the raw markdown verbatim: <code class="hljs">!<span class="hljs-selector-attr">[alt]</span>(url)</code>.
minus-squaremathemachristian[he]@lemmy.mllinkfedilinkarrow-up3·edit-228 days ago wrong I think it’s 
minus-squareEdie [it/it/its/its/itself, she/her/her/hers/herself]@lemmy.mllinkfedilinkarrow-up4·28 days agoNo it is alt text in the square brackets and title in the quotations
minus-squaremathemachristian[he]@lemmy.mllinkfedilinkarrow-up8·edit-228 days agolets test it 
But it shouldn’t do that when enclosed in a code/preformatted block?
It shouldn’t but the markdown parser is for whatever reason not that good.
Looks like it’s using markdown-it, a Rust port of a JavaScript library with the same name.
It looks unmaintained. Last commit is from 2 years ago and issues look inactive. (including one asking asking about the maintenance status)
I believe the frontend uses markdown-it proper.
I think that it’s the backend that screws the “url” up. Everything looks good in the preview, but the “url” part disappears upon publishing.
deleted by creator
It only becomes an image to me when outside of a code/preformatted block. Inside of one, it contains the raw markdown verbatim:
<code class="hljs">!<span class="hljs-selector-attr">[alt]</span>(url)</code>.wrong
I think it’s
No it is alt text in the square brackets and title in the quotations
lets test it
