Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CoilImagesPlugin Module #174

Merged
merged 9 commits into from
Nov 14, 2019
Merged

Add CoilImagesPlugin Module #174

merged 9 commits into from
Nov 14, 2019

Conversation

tylerbwong
Copy link
Contributor

Closes #166

This adds support for loading images using Coil through a new markwon-image-coil module based off the implementations of the existing image plugins. I'm not too familiar with any gotchas there would be with interactions between the Markwon and Coil APIs so any guidance would be much appreciated!

Copy link
Owner

@noties noties left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good job! 🙌

@@ -0,0 +1,35 @@
# Image Coil
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😍 ! Very nice touch to include documentation!


Image loading based on `Coil` library

```kt
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately syntax highlighting won't work for kt, please change to kotlin

import io.noties.markwon.image.ImageSpanFactory;

/**
* @since 4.0.0
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can put here some attribution if you wish, like your name and email, but it's optional

@noties noties changed the base branch from master to develop November 14, 2019 12:16
@noties noties merged commit 6b9e79c into noties:develop Nov 14, 2019
@noties noties mentioned this pull request Nov 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants