pub fn extract_method_markdown_from_html(
html: &str,
method_name: &str,
) -> AppResult<(String, bool)>Expand description
Extract markdown for a single associated method by rustdoc id="method.X".
Locates the method anchor and prefers the enclosing details.method-toggle
(signature + docblock). Falls back to the full item page when the anchor is
missing (extraction = item_page).
§Errors
Returns ErrorKind::Parse when HTML→Markdown conversion fails.