synzen / MonitoRSS

MonitoRSS RSS bot (formerly known as Discord.RSS) with customizable feeds. https://monitorss.xyz
https://monitorss.xyz
MIT License
1.05k stars 237 forks source link

Add support for code in markdown #356

Closed m417z closed 8 months ago

m417z commented 8 months ago

Is your feature request related to a problem? Please describe. Looks like bold, italic, and underline styles are supported, but not code.

Describe the solution you'd like Given content such as the following in the feed:

Some <code>code</code> right here

I'd like to get:

Some `code` right here

Additional context I assume it has to be added somewhere around here: https://github.com/search?q=repo%3Asynzen%2FMonitoRSS+Bolded+markdown&type=code

There are four similar blocks of html to markdown handling. I'm not sure whether they all need to change.

synzen commented 8 months ago

Thanks for the report. This should be fixed now in https://github.com/synzen/MonitoRSS/commit/dea3a70380c2f3115686104a7800b2b181733415 (the code search you linked were all related to legacy code that's no longer used now)