Class KonceptSvgRenderer

java.lang.Object
network.ike.docs.koncept.KonceptSvgRenderer

public final class KonceptSvgRenderer extends Object
Generates inline SVG badge markup for Koncept references.

The badge renders as a compact, clickable pill that links to the glossary anchor for the referenced Koncept. The "K" prefix is rendered in a contrasting weight to visually distinguish Koncept references from surrounding text.

SVG is used rather than HTML/CSS to ensure consistent rendering across HTML and PDF backends.

  • Method Details

    • render

      public static String render(String target, String label)
      Render an inline SVG badge for a Koncept reference.
      Parameters:
      target - the CamelCase koncept identifier (used for anchor link)
      label - the human-readable display label
      Returns:
      complete SVG+anchor HTML string suitable for inline passthrough