Enum Options.Tables

    • Enum Constant Detail

      • REMOVE

        public static final Options.Tables REMOVE
        Remove all tables and their contents
      • LEAVE_AS_HTML

        public static final Options.Tables LEAVE_AS_HTML
        Leave all tables and their contents as raw HTML (the default, as this is the recommended syntax from Markdown)
      • CONVERT_TO_CODE_BLOCK

        public static final Options.Tables CONVERT_TO_CODE_BLOCK
        Convert tables to clean code block (compatible with the original Markdown)
    • Method Detail

      • values

        public static Options.Tables[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Options.Tables c : Options.Tables.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Options.Tables valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • isRemoved

        public boolean isRemoved()
        True if the table is to be fully removed.
        Returns:
        true or false
      • isLeftAsHtml

        public boolean isLeftAsHtml()
        True if the table is to be left as raw HTML.
        Returns:
        true or false
      • isConvertedToText

        public boolean isConvertedToText()
        True if the table is to be converted to plain text. This is true if the result is a Markdown table or a code block.
        Returns:
        true or false
      • isRenderedAsCode

        public boolean isRenderedAsCode()
        True if the table should be rendered as a code block
        Returns:
        true or false
      • isColspanEnabled

        public boolean isColspanEnabled()
        True if the table is rendered as a MultiMarkdown table with column spanning.
        Returns:
        true or false