Medium

फ्रीमियम
Verified
द्वारा Nishu Jain | अपडेट किया गया 8 days ago | Data
लोकप्रियता

9.7 / 10

लेटेंसी

843ms

सेवा का स्तर

100%

Health Check

N/A

सभी चर्चाओं पर वापस जाएं

Medium Content returned via Markdown endpoint ignores all code related <pre> and <code> tags

Rapid account: Patrickfav
patrickfav
a year ago

I mostly write technical blogs so not having proper handling for code blocks (<pre> and <code>) is a deal breaker for me.

I would expect that

<pre>
…my code
</pre>

is translated to

   ....my code

and <code>myCode</code> is myCode in markdown.

Cheers!

Rapid account: Nishujain 199719 Vg Ifu FH Zx VZ
nishujain199719-vgIfuFHZxVZ Commented a year ago

Hi Patrick,

Good News! I’ve handled the PRE block, inside which the code is generally written, to be properly converted into the markdown. Now everything inside the PRE block will be enclosed within these (``` ```):

```
code or something else
```

Also, I’ve proper emoji handling too.

Please try again and let me know if this fixes the issue.

Nishu

Rapid account: Nishujain 199719 Vg Ifu FH Zx VZ
nishujain199719-vgIfuFHZxVZ Commented a year ago

Hi Patrick! Thanks for pointing this out. I’ll see what I can do 😃

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें