Skip to content
Open
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
2 changes: 1 addition & 1 deletion quartodoc/renderers/md_renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ def signature(
@dispatch
def render_header(self, el: layout.Doc) -> str:
"""Render the header of a docstring, including any anchors."""
_str_dispname = el.name
_str_dispname = str(el.name).replace("_", "\\_")

# TODO: support anchors that are not fully qualified paths?
# e.g. get_object, rather than quartodoc.get_object
Expand Down