-
Notifications
You must be signed in to change notification settings - Fork 56
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
Lift AbstractString
type restriction on summary
arg of details
#296
Conversation
Quoting: @rgouveiamendes from #290 (comment)
No particular conviction, Upon comparison,
While doing this comparison I have become partial to
I cannot say I fully comprehend the depth of the implications were we to opt for |
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.
Wow another awesome PR! Thanks so much!
I like the style of inline-flex
more with the wrapping markdown title, but if you say it has problems then I'm happy with inline-block
! I prefer to not use a table styles outside of tables because they give me bad vibes but for this case it would also be okay!
It's just a very weird element to style because the <summary>
is implemented by the UA as a list item with the >
as list marker... If you found something that looks good and consistent on all browsers then I'm happy!
I'm really happy with your contributions to PlutoUI! Are you interested in other projects? I'm thinking about:
Do you know JavaScript? In that case there are lots of possible projects similar to https://github.com/lukavdplas/PlutoMapPicker.jl . Also check out the recent new feature: fonsp/Pluto.jl#2726 Anyway, big thanks for your work so far and maybe we can find something fun to work on! I'm also happy to chat on zulip or have a video call to discuss! |
Wow! @fonsp let me see what I can do. I will analyze the links you've mentioned. However, I am quite busy right now... :( Maybe just in summer. Regarding |
My screenshots above could've been clearer and I should've explicitly stated what I found rather than making assumptions, apologies. With The following screenshot showcases functionally equivalent markdown and html producing wildly different results when using
|
Looks good! Let's merge? @rgouveiamendes My invitation for future contributions was meant more for @genericallyterrible who made a couple of really well implemented pull requests recently but of course everyone should feel welcome to contribute! Open a draft PR when you start working and let's make something nice! |
I'm ready to send it! |
Fixes: #295
Allows any type to be used as
summary
and leaves it up to the user to decide what is rational.Unlike the
details
argument,summary
is not embedded usingembed_display
. Insteadsummary
is only wrapped by a simplediv
with appropriate CSS to provide a decent display for html-like objects.Examples
summary
type@md
@htl