@Override
		public void setAttributes(Node node, String tagName, Map<String, String> attributes) {
			if (node instanceof Heading heading && heading.getLevel() <= 2) {
				attributes.put("style",
					"border-bottom: solid 1px; border-bottom-color: #cccccc; padding-bottom: 8px;");
			}
		}
Class to add custom style to headings
GhidraBuild/MarkdownSupport/src/main/java/ghidra/markdown/MarkdownToHtml.java