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

        final String markdown = "# Hello!\n\nA paragraph?\n\nIt should be!";

        final Markwon markwon = Markwon.builder(this)
                .usePlugin(new AbstractMarkwonPlugin() {
                    @Override
                    public void configureSpansFactory(@NonNull MarkwonSpansFactory.Builder builder) {
                        builder.setFactory(Paragraph.class, (configuration, props) ->
                                new ForegroundColorSpan(Color.GREEN));
                    }
                })
                .build();

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

        final String markdown = "# Hello!\n\nA paragraph?\n\nIt should be!";

        final Markwon markwon = Markwon.builder(this)
                .usePlugin(new AbstractMarkwonPlugin() {
                    @Override
                    public void configureSpansFactory(@NonNull MarkwonSpansFactory.Builder builder) {
                        builder.setFactory(Paragraph.class, (configuration, props) ->
                                new ForegroundColorSpan(Color.GREEN));
                    }
                })
                .build();

        markwon.setMarkdown(textView, markdown);
    }
In order to apply paragraph spans a custom plugin should be created (CorePlugin will take care
of everything else).
<p>
Please note that when a plugin is registered and it <em>depends</em> on CorePlugin, there is no
need to explicitly specify it. By default all plugins that extend AbstractMarkwonPlugin do declare
it\'s dependency on CorePlugin ({@link MarkwonPlugin#priority()}).
<p>
Order in which plugins are specified to the builder is of little importance as long as each
plugin clearly states what dependencies it has