-
I'm creating a Reader Mode for one of my apps, and really love how this library has enabled me to build a highly customizable screen for rendering a markdown variant of webpages. I have a very basic set up right now, which looks something like this.
The output of that code looks like this, with the sepia theme applied from edge to edge. I don't want the text to flow from edge to edge, but I would like for the entire background to be colored sepia. To address this I could add a While I can add horizontal padding to each individual Theme style component, I was wondering if there's a way to apply margin or padding to the entire Thank you so much! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @mergesort, Thank you for using MarkdownUI ❤️. It might not be ideal, but applying a padding to the The demo project uses the same approach, as the bundled Let me know if that fixes the issue. |
Beta Was this translation helpful? Give feedback.
-
It's not perfect but having that suggestion is really helpful, I was able to implement it this way in my app as well. Thank you so much for the suggestion, and the great library @gonzalezreal! |
Beta Was this translation helpful? Give feedback.
It's not perfect but having that suggestion is really helpful, I was able to implement it this way in my app as well. Thank you so much for the suggestion, and the great library @gonzalezreal!