-
Notifications
You must be signed in to change notification settings - Fork 782
Styled Text: add a macro and functions for parsing markdown #10060
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
base: master
Are you sure you want to change the base?
Conversation
|
Currently getting this error: @ogoffart where should I be registering this? |
internal/core/lib.rs
Outdated
| out | ||
| } | ||
|
|
||
| pub fn parse_markdown(text: &str) -> std::string::String { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The idea is that this function should return a slint::StyledText
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know
This is supposed to be registered in
|
Ohh, right, thanks. Part of the confusion here is that we have both |
Indeed. It is possible to have the item have a different struct name. For example |
4e9e4bc to
b6d3eb8
Compare
a7a2ff7 to
ff8b450
Compare
No description provided.