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

blockquote text style not applying #24

Closed
lboedy opened this issue May 9, 2022 · 1 comment
Closed

blockquote text style not applying #24

lboedy opened this issue May 9, 2022 · 1 comment

Comments

@lboedy
Copy link

lboedy commented May 9, 2022

When trying to apply a text style to a blockquote, I am not seeing anything change.

return MarkdownBody(
      styleSheet: MarkdownStyleSheet(
        blockquote: TextStyle(color: Colors.blue),
        blockquoteDecoration: BoxDecoration(
          border: Border(
            left: BorderSide(
              width: 2.0,
            ),
          ),
        ),
        blockquotePadding: const EdgeInsets.symmetric(vertical: 8, horizontal: 16),
      ),
      data: convert('<blockquote>this is a blockquote</blockquote>'),
);

I see the padding & the decoration, but not the text style.

@jarontai
Copy link
Owner

Hi lboedy, html2md is just a conversion tool and doesn't participate rendering, I believe this is a issue realted to flutter_markdown.

@lboedy lboedy closed this as completed May 26, 2022
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

No branches or pull requests

2 participants