Package icyllis.modernui.markdown.core
Class CorePlugin
java.lang.Object
icyllis.modernui.markdown.core.CorePlugin
- All Implemented Interfaces:
MarkdownPlugin
-
Nested Class Summary
Nested classes/interfaces inherited from interface icyllis.modernui.markdown.MarkdownPlugin
MarkdownPlugin.Registry
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
beforeSetText
(TextView textView, Spanned markdown) This method will be called before callingTextView#setText
.void
configureConfig
(MarkdownConfig.Builder builder) static CorePlugin
create()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface icyllis.modernui.markdown.MarkdownPlugin
afterRender, afterSetText, beforeRender, configure, configureParser, configureTheme, processMarkdown
-
Field Details
-
CORE_ORDERED_LIST_ITEM_NUMBER
- See Also:
-
-
Method Details
-
create
-
configureConfig
- Specified by:
configureConfig
in interfaceMarkdownPlugin
- Parameters:
builder
-
-
beforeSetText
Description copied from interface:MarkdownPlugin
This method will be called before callingTextView#setText
.It can be useful to prepare a TextView for markdown.
- Specified by:
beforeSetText
in interfaceMarkdownPlugin
- Parameters:
textView
- TextView to whichmarkdown
will be appliedmarkdown
- Rendered markdown
-