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

PR to test formatting action #55

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/present.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function Base.show(io, mime::MIME"text/html", fld::Foldable)
write(io, "<details><summary>$(fld.title)</summary><p>")
show(io, mime, fld.content)
write(io, "</p></details>")
return nothing
nothing
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
nothing
return nothing

end

struct TwoColumn{L,R}
Expand Down Expand Up @@ -86,7 +86,7 @@ end
function ChooseDisplayMode(;
wide::Bool=false, present::Bool=false, lang::AbstractLanguage=default_language[]
) # Adapted from PlutoThemes.jl
checked = wide ? "checked" : ""
checked = wide ? "checked" : ""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
checked = wide ? "checked" : ""
checked = wide ? "checked" : ""

checked_present_mode = present ? "checked" : ""
init = wide ? "toggle_width(document.getElementById('width-over-livedocs'))" : ""
return HTML("""
Expand Down
Loading