* Add support for sub and superscript in markdown
* Removed empty line as per lint
* renamed schema to rehypeSanitizeSchema to make it less generic
* Linting fixes
* Update components/text.js
Co-authored-by: ekzyis <ek@stacker.news>
* Reverting changes: remove rehype-raw&sanitize, clean up
* Draft iteration of rehypeStyler plugin
* rehypeStyler visiting element nodes properly to catch tag-text-tag patterns
* Refreshed package-lock
---------
Co-authored-by: ekzyis <ek@stacker.news>
* Quote reply support on text-based posts and comments
* Clean up the `onQuoteReply` prop usage
* Refactor to use `useImperativeHandle` for Reply
* quote selected text if any, otherwise quote whole item
* Only quote selected text if it's from the item we're replying to, not just any selected text
* add trailing newline to copied text
* onPointerDown for mobile, quote+reply quotes text
---------
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: keyan <keyan.kousha+huumn@gmail.com>
* Parse image links during markdown rendering
* Use imgproxy to replace links
* Add healthcheck
See https://docs.imgproxy.net/healthcheck
* Enable WebP and animation support
* Only replace image URLs
* Replace all occurrences
* Fix creating posts with no text
* Embed image on link posts where link is image
---------
Co-authored-by: ekzyis <ek@stacker.news>