private void fixupLinks(Map<String, String> attributes) {
			String href = attributes.get("href");

			// Ignore local anchor links
			if (href == null || href.startsWith("#")) {
				return;
			}

			// Ignore fully qualified URL's
			if (href.toLowerCase().startsWith("http://") ||
				href.toLowerCase().startsWith("https://")) {
				return;
			}

			// Convert .md links to .html links
			if (href.toLowerCase().endsWith(".md")) {
				href = href.substring(0, href.length() - 2) + "html";
			}

			// Fixup known differences between repository link and release links
			href = switch (href) {
				case String s when s.contains("src/main/py") -> s.replace("src/main/py", "pypkg");
				case String s when s.contains("src/main/java") -> null;
				default -> href;
			};

			if (href != null) {
				attributes.put("href", href);
			}
			else {
				attributes.remove("href");
			}
		}
Class to help adjust links to Markdown files to instead become links to HTML files
GhidraBuild/MarkdownSupport/src/main/java/ghidra/markdown/MarkdownToHtml.java