Skip to content
This repository has been archived by the owner on Mar 18, 2019. It is now read-only.

How to set markdown body transparent? #17

Open
lucasjinreal opened this issue Jun 19, 2017 · 2 comments
Open

How to set markdown body transparent? #17

lucasjinreal opened this issue Jun 19, 2017 · 2 comments

Comments

@lucasjinreal
Copy link

Hi, thanks for this fabulous project, I am able to render markdown, but how to set the background to transparent? The android default background color is not white, you know, so, things get wired if the color not transparent, if you kindly give me a snippt I would be very thankful!

@lucasjinreal
Copy link
Author

BTW, the images will be outof screen if image too large, how to fix them wrap the width of screen?

@tiagohm
Copy link
Owner

tiagohm commented Jun 20, 2017

You can use css to customize!
For adjust the image size:

Github github = new Github();
github.addRule("img", "max-width: 100%");
mMarkdownView.addStyleSheet(github);

about transparency, sorry, I couldn't do this. Too I would be very thankful if you can find a snippet for this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants