Skip to content

Commit

Permalink
use spans to style the docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
tpoisot committed Sep 17, 2024
1 parent a7195ac commit bc6654c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/writer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ function render(io::IO, mime::MIME"text/plain", node::Documenter.MarkdownAST.Nod
print(io ,"""
<summary>
::marker
<p class='custom-block-title'><a id='$(anchor_id)' href='#$(anchor_id)'>#</a> <b><u>$(docs.object.binding)</u></b> &mdash; <i>$(Documenter.doccat(docs.object))</i></p>
<p class='custom-block-title'><a id='$(anchor_id)' href='#$(anchor_id)'>#</a> <span class="jlbinding">$(docs.object.binding)</span> &mdash; <span class="jlobjecttype">$(Documenter.doccat(docs.object))</span></p>
</summary>\n\n
""")
# Body. May contain several concatenated docstrings.
Expand Down

0 comments on commit bc6654c

Please sign in to comment.