org.fusesource.scalamd

MarkdownText

class MarkdownText extends AnyRef

We collect all processing logic within this class.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MarkdownText
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MarkdownText(source: CharSequence)

Type Members

  1. case class LinkDefinition(url: String, title: String) extends Product with Serializable

    Link Definitions

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. def doAmpSpans(text: StringEx): StringEx

    Wrap ampersands with .

    Wrap ampersands with .

    Attributes
    protected
  9. def doAutoLinks(text: StringEx): StringEx

    Process autolinks.

    Process autolinks.

    Attributes
    protected
  10. def doBlockQuotes(text: StringEx): StringEx

    Process blockquotes.

    Process blockquotes.

    It is possible to have some nested block elements inside blockquotes, so the contents is passed to runBlockGamut after some minor transformations.

    Attributes
    protected
  11. def doCodeBlocks(text: StringEx): StringEx

    Process code blocks.

    Process code blocks.

    Attributes
    protected
  12. def doCodeSpans(protector: Protector, text: StringEx): StringEx

    Process code spans.

    Process code spans.

    Attributes
    protected
  13. def doEmphasis(text: StringEx): StringEx

    Process EMs and STRONGs.

    Process EMs and STRONGs.

    Attributes
    protected
  14. def doHeaders(text: StringEx): StringEx

    Process both types of headers.

    Process both types of headers.

    Attributes
    protected
  15. def doHorizontalRulers(text: StringEx): StringEx

    Process horizontal rulers.

    Process horizontal rulers.

    Attributes
    protected
  16. def doImages(text: StringEx): StringEx

    Process images.

    Process images.

    Attributes
    protected
  17. def doInlineLinks(text: StringEx): StringEx

    Process inline links.

    Process inline links.

    Attributes
    protected
  18. def doLineBreaks(text: StringEx): StringEx

    Process manual linebreaks.

    Process manual linebreaks.

    Attributes
    protected
  19. def doLists(text: StringEx): StringEx

    Process ordered and unordered lists and list items.

    Process ordered and unordered lists and list items..

    It is possible to have some nested block elements inside lists, so the contents is passed to runBlockGamut after some minor transformations.

    Attributes
    protected
  20. def doMacros(text: StringEx): StringEx

    Process user-defined macros.

    Process user-defined macros.

    Attributes
    protected
  21. def doRefLinks(text: StringEx): StringEx

    Process reference-style links.

    Process reference-style links.

    Attributes
    protected
  22. def doSmartyPants(text: StringEx): StringEx

    Process SmartyPants stuff.

    Process SmartyPants stuff.

    Attributes
    protected
  23. def doToc(text: StringEx): StringEx

    Process user-defined macros.

    Process user-defined macros.

    Attributes
    protected
  24. def encodeAmpsAndLts(text: StringEx): StringEx

    Ampersands and less-than signes are encoded to & and < respectively.

    Ampersands and less-than signes are encoded to & and < respectively.

    Attributes
    protected
  25. def encodeBackslashEscapes(text: StringEx): StringEx

    All characters escaped with backslash are encoded to corresponding SGML entities.

    All characters escaped with backslash are encoded to corresponding SGML entities.

    Attributes
    protected
  26. def encodeCharsInsideTags(text: StringEx): StringEx

    Encodes specially-treated characters inside the HTML tags.

    Encodes specially-treated characters inside the HTML tags.

    Attributes
    protected
  27. def encodeCode(code: StringEx): StringEx

    All unsafe chars are encoded to SGML entities inside code blocks.

    All unsafe chars are encoded to SGML entities inside code blocks.

    Attributes
    protected
  28. def encodeEmail(s: String): String

    Process autoemails in anti-bot manner.

    Process autoemails in anti-bot manner.

    Attributes
    protected
  29. def encodeUnsafeChars(code: StringEx): StringEx

    All unsafe chars are encoded to SGML entities.

    All unsafe chars are encoded to SGML entities.

    Attributes
    protected
  30. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  31. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  32. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  33. def formParagraphs(text: StringEx): StringEx

    At this point all HTML blocks should be hashified, so we treat all lines separated by more than 2 linebreaks as paragraphs.

    At this point all HTML blocks should be hashified, so we treat all lines separated by more than 2 linebreaks as paragraphs.

    Attributes
    protected
  34. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  35. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  36. def hashHtmlBlocks(text: StringEx): StringEx

    All inline HTML blocks are hashified, so that no harm is done to their internals.

    All inline HTML blocks are hashified, so that no harm is done to their internals.

    Attributes
    protected
  37. def hashHtmlComments(text: StringEx): StringEx

    All HTML comments are hashified too.

    All HTML comments are hashified too.

    Attributes
    protected
  38. val htmlProtector: Protector

  39. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  40. var links: Map[String, LinkDefinition]

    Attributes
    protected
  41. var listLevel: Int

    Attributes
    protected
  42. var macros: List[MacroDefinition]

    Attributes
    protected
  43. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  44. def normalize(text: StringEx): qual$4.type forSome {val qual$4: qual$3.type, val qual$3: normalize.text.type}

    Normalization includes following stuff:

    Normalization includes following stuff:

    * replace DOS- and Mac-specific line endings with \n; * replace tabs with spaces; * reduce all blank lines (i.e. lines containing only spaces) to empty strings.

    Attributes
    protected
  45. final def notify(): Unit

    Definition Classes
    AnyRef
  46. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  47. def processListItems(text: StringEx): StringEx

    Attributes
    protected
  48. def protectCodeSpans(protector: Protector, text: StringEx): StringEx

    Attributes
    protected
  49. def protectHtmlTags(protector: Protector, text: StringEx): StringEx

    Attributes
    protected
  50. def runBlockGamut(text: StringEx): StringEx

    Block elements are processed within specified text.

    Block elements are processed within specified text.

    Attributes
    protected
  51. def runSpanGamut(text: StringEx): StringEx

    Span elements are processed within specified text.

    Span elements are processed within specified text.

    Attributes
    protected
  52. def stripLinkDefinitions(text: StringEx): StringEx

    Standalone link definitions are added to the dictionary and then stripped from the document.

    Standalone link definitions are added to the dictionary and then stripped from the document.

    Attributes
    protected
  53. def stripMacroDefinitions(text: StringEx): StringEx

    Macro definitions are stripped from the document.

    Macro definitions are stripped from the document.

    Attributes
    protected
  54. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  55. var text: StringEx

    Attributes
    protected
  56. def toHtml(): String

    Transform the Markdown source into HTML.

  57. def toString(): String

    Definition Classes
    AnyRef → Any
  58. def to_id(label: String): String

  59. def unprotect(protector: Protector, text: StringEx): StringEx

    Attributes
    protected
  60. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  61. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  62. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped