Class MarkupMultiline

    • Constructor Detail

      • MarkupMultiline

        public MarkupMultiline​(@NonNull
                               com.vladsch.flexmark.util.ast.Document astNode)
        Construct a new multiline markup instance.
        Parameters:
        astNode - the parsed markup AST
    • Method Detail

      • fromHtml

        @NonNull
        public static MarkupMultiline fromHtml​(@NonNull
                                               String html)
        Convert the provided HTML string into markup.
        Parameters:
        html - the HTML
        Returns:
        the multiline markup instance
      • fromMarkdown

        @NonNull
        public static MarkupMultiline fromMarkdown​(@NonNull
                                                   String markdown)
        Convert the provided markdown string into markup.
        Parameters:
        markdown - the markup
        Returns:
        the multiline markup instance
      • isBlock

        public boolean isBlock()
        Description copied from interface: IMarkupString
        Determine if the Markup consists of block elements.
        Returns:
        true if the markup consists of block elements, or false otherwise