EINDEX / logseq-memos-sync

Logseq plugin for sync Memos to logseq.
GNU General Public License v3.0
88 stars 13 forks source link

sync images from memos to logseq #16

Closed zhaochunqi closed 1 year ago

zhaochunqi commented 1 year ago

This pr adds support for images .

zhaochunqi commented 1 year ago

This would close https://github.com/EINDEX/logseq-memos-sync/issues/6

EINDEX commented 1 year ago

Hi,

Thanks for making PR here, your code is petty nice.

But I found some cases below.

Anyway Thanks for your PR.

zhaochunqi commented 1 year ago

You're correct, I should have considered images without an external link.

If it's not an image resource, I believe the syntax in Logseq remains the same: ![name](url).

I'll attempt to rectify the external link issue as soon as possible. Thank you for your review!

zhaochunqi commented 1 year ago

Hi, @EINDEX. I've pushed the code that supports images without external links. I've tested it with my local setup using different memo visibilities.

The code structure might not be as you desired, feel free to modify it as I will certainly learn a lot from that.

EINDEX commented 1 year ago

LGTM, Thanks for the PR.

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 1.8.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: