Skip to content

Commit

Permalink
Apply small class to <details> instead of <summary>.
Browse files Browse the repository at this point in the history
  • Loading branch information
01mf02 committed Jan 6, 2025
1 parent 84e3ec7 commit 7382953
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/filters/filter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ function Div(el)

if FORMAT == "html" then
local summary = pandoc.Plain{
pandoc.RawInline("html", '<summary class="text-body-secondary link-body-emphasis small">'), pandoc.Str 'Examples',
pandoc.RawInline("html", '<summary class="text-body-secondary link-body-emphasis">'), pandoc.Str 'Examples',
pandoc.RawInline("html", "</summary>")
}
return {
pandoc.RawBlock("html", '<details class="pb-3">'), summary, el,
pandoc.RawBlock("html", '<details class="pb-3 small">'), summary, el,
pandoc.RawBlock("html", '</details>')
}
end
Expand Down

0 comments on commit 7382953

Please sign in to comment.