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 bold/html support in resultCard #2

Open
guojiex opened this issue Jan 13, 2019 · 3 comments
Open

Add bold/html support in resultCard #2

guojiex opened this issue Jan 13, 2019 · 3 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@guojiex
Copy link
Owner

guojiex commented Jan 13, 2019

htmlTitle and htmlSnippet are provided by Custom Search JSON API. but now we just use the plain text returned.

@guojiex guojiex added enhancement New feature or request good first issue Good for newcomers labels Jan 13, 2019
@guojiex guojiex self-assigned this Jan 13, 2019
@guojiex
Copy link
Owner Author

guojiex commented Jan 13, 2019

https://stackoverflow.com/questions/41557139/how-do-i-bold-or-format-a-piece-of-text-within-a-paragraph

Use RichText with a list of TextSpan. can render this. But not sure how to parse the html to textspans.

@guojiex
Copy link
Owner Author

guojiex commented Jan 13, 2019

@guojiex guojiex changed the title Add highlight support in resultCard Add bold/html support in resultCard Jan 13, 2019
@guojiex
Copy link
Owner Author

guojiex commented Jan 13, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant