I just figured this out for my current project; I'm not sure it's the best
way but it's a working way :) I have a subclass of text% that mixes in
html-text-mixin, and then I populate it via render-html-to-text. You can
see the code here:

https://github.com/martindemello/exolve-editor/blob/master/gui.rkt#L28

martin

On Tue, Nov 12, 2019 at 4:00 PM Andre Garzia <an...@andregarzia.com> wrote:

> Hi Friends,
>
> Does anyone here know what is the best way to show styled text in a
> Racket GUI application?
>
> I've got some markdown that I wish to display but I can't find how to
> display any form of styled text, let alone markdown.
>
> I've started a little project to implement webviews but I think they are
> overkill for this project and to be honest, I couldn't figure out how to
> display a webview on windows.
>
> If anyone could point me into some module or direction, I'd really
> appreciate it.
>
> Best
>
> Andre
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/a2d7247d-0ca7-faba-c346-3ce0cdd9f130%40andregarzia.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAFrFfuGB6q8R_h-8V27WpxNBEiiGRxZu_YjDP5RbZ-EK7pv_mQ%40mail.gmail.com.

Reply via email to