sample/src/main/java/ru/noties/markwon/sample/basicplugins/BasicPluginsActivity.java
private void step_3() {

        final String markdown = "`A code` that is rendered differently\n\n```\nHello!\n```";

        final Markwon markwon = Markwon.builder(this)
                .usePlugin(new AbstractMarkwonPlugin() {
                    @Override
                    public void configureTheme(@NonNull MarkwonTheme.Builder builder) {
                        builder
                                .codeBackgroundColor(Color.BLACK)
                                .codeTextColor(Color.RED);
                    }
                })
                .build();

        markwon.setMarkdown(textView, markdown);
    }
private void step_3() {

        final String markdown = "`A code` that is rendered differently\n\n```\nHello!\n```";

        final Markwon markwon = Markwon.builder(this)
                .usePlugin(new AbstractMarkwonPlugin() {
                    @Override
                    public void configureTheme(@NonNull MarkwonTheme.Builder builder) {
                        builder
                                .codeBackgroundColor(Color.BLACK)
                                .codeTextColor(Color.RED);
                    }
                })
                .build();

        markwon.setMarkdown(textView, markdown);
    }
private void step_3 ( ) { final String markdown = "`A code` that is rendered differently\n\n```\nHello!\n```" ; final Markwon markwon = Markwon . builder ( this ) . usePlugin ( new AbstractMarkwonPlugin ( ) { @ Override public void configureTheme ( @ NonNull MarkwonTheme . Builder builder ) { builder . codeBackgroundColor ( Color . BLACK ) . codeTextColor ( Color . RED ) ; } } ) . build ( ) ; markwon . setMarkdown ( textView , markdown ) ; }
To customize core theme plugin can be used again
To customize core theme plugin can be used again