Class MarkdownView

java.lang.Object
io.github.jbastgen.stemma.app.markdown.MarkdownView

public final class MarkdownView extends Object
Draws the blocks of Markdown as JavaFX nodes (feature 29). Nothing is loaded from anywhere: images show as their text.
  • Method Details

    • render

      public static javafx.scene.layout.VBox render(List<io.github.jbastgen.stemma.app.markdown.Markdown.Block> blocks, Consumer<String> onLink)
      Parameters:
      onLink - called with the address of a link the user clicked; it is the caller's business whether to open it