lbryio / spee.ch

An image hosting service on top of the LBRY protocol.
https://spee.ch
MIT License
186 stars 78 forks source link

Markdown setttings #890

Closed jessopb closed 5 years ago

jessopb commented 5 years ago

Investigate default markdown settings / config options.

jessopb commented 5 years ago

Identify markdown links that point to lbry:// and redirect them optionally to either $host/uri or open.lbry.io/

jessopb commented 5 years ago

iframe can be rendered in the current system, but since they're iframes, and styling iframes well typically requires a wrapper, it will take a bit more work. Switching to remark like lbry-desktop uses,an explicit rendering for that tag could be created like is done here with SimpleLink. https://github.com/lbryio/lbry-desktop/blob/f5d762b7181620b31e1f61439367cdccdd0ed412/src/renderer/component/common/markdown-preview.jsx