Class MarkdownTheme

java.lang.Object
icyllis.modernui.markdown.MarkdownTheme

@Immutable public final class MarkdownTheme extends Object
Controlling the styled attributes for rendering Markdown.
  • Method Details

    • builder

      @NonNull public static MarkdownTheme.Builder builder()
    • builderWithDefaults

      @NonNull public static MarkdownTheme.Builder builderWithDefaults(@NonNull Context context)
    • getBlockQuoteMargin

      public int getBlockQuoteMargin()
    • getBlockQuoteWidth

      public int getBlockQuoteWidth()
    • getBlockQuoteColor

      public int getBlockQuoteColor()
    • getListItemMargin

      public int getListItemMargin()
    • getListItemColor

      public int getListItemColor()
    • getCodeTextColor

      public int getCodeTextColor()
    • getCodeBackgroundColor

      public int getCodeBackgroundColor()
    • getCodeTypeface

      @NonNull public Typeface getCodeTypeface()
    • getCodeTextSize

      public int getCodeTextSize()
    • getCodeBlockTextColor

      public int getCodeBlockTextColor()
    • getCodeBlockBackgroundColor

      public int getCodeBlockBackgroundColor()
    • getCodeBlockTypeface

      @NonNull public Typeface getCodeBlockTypeface()
    • getCodeBlockTextSize

      public int getCodeBlockTextSize()
    • getCodeBlockMargin

      public int getCodeBlockMargin()
    • getHeadingBreakColor

      public int getHeadingBreakColor()
    • getHeadingTypeface

      public Typeface getHeadingTypeface()
    • getHeadingTextSizeMultiplier

      public float getHeadingTextSizeMultiplier(int level)
    • getThematicBreakColor

      public int getThematicBreakColor()