io.github.edadma.markdown

Members list

Type members

Classlikes

Attributes

Supertypes
trait BlockParser
class Object
trait Matchable
class Any
Self type
case class AutoLink(destination: String, text: String) extends Inline

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Inline
trait Node
class Object
trait Matchable
class Any
Show all
trait Block extends Node

Attributes

Supertypes
trait Node
class Object
trait Matchable
class Any
Known subtypes
class BlockQuote
class Code
class HTMLBlock
class Heading
class ListBlock
class Paragraph
Show all
trait BlockParser

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class BlockQuote(children: List[Block]) extends Block

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Block
trait Node
class Object
trait Matchable
class Any
Show all
object BlockQuoteParser extends BlockParser

Attributes

Supertypes
trait BlockParser
class Object
trait Matchable
class Any
Self type
case class C(char: Char, pos: Int, line: Int, column: Int, isLiteral: Boolean) extends Inline

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Inline
trait Node
class Object
trait Matchable
class Any
Show all
Known subtypes
object EndOfInput
case class Code(content: String, infoString: Option[String]) extends Block

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Block
trait Node
class Object
trait Matchable
class Any
Show all
case class CodeSpan(content: String) extends Inline

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Inline
trait Node
class Object
trait Matchable
class Any
Show all
case class DelimiterInfo(node: DLListNode[Inline], delimiterChar: Char, length: Int, var isActive: Boolean, canOpen: Boolean, canClose: Boolean)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Document(children: List[Block]) extends Node

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Node
class Object
trait Matchable
class Any
Show all
case class Emphasis(inlines: List[Inline]) extends Inline

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Inline
trait Node
class Object
trait Matchable
class Any
Show all
object EndOfInput extends C

Attributes

Supertypes
class C
trait Serializable
trait Product
trait Equals
trait Inline
trait Node
class Object
trait Matchable
class Any
Show all
Self type
EndOfInput.type

Attributes

Supertypes
trait BlockParser
class Object
trait Matchable
class Any
Self type
case class HTMLBlock(content: String) extends Block

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Block
trait Node
class Object
trait Matchable
class Any
Show all
object HTMLBlockParser extends BlockParser

Attributes

Supertypes
trait BlockParser
class Object
trait Matchable
class Any
Self type
case class HardLineBreak() extends Inline

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Inline
trait Node
class Object
trait Matchable
class Any
Show all
case class Heading(level: Int, inlines: List[Inline]) extends Block

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Block
trait Node
class Object
trait Matchable
class Any
Show all
case class Image(destination: String, title: Option[String], inlines: List[Inline]) extends Inline

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Inline
trait Node
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
trait BlockParser
class Object
trait Matchable
class Any
Self type
sealed trait Inline extends Node

Attributes

Supertypes
trait Node
class Object
trait Matchable
class Any
Known subtypes
class AutoLink
class C
object EndOfInput
class CodeSpan
class Emphasis
class Image
class Link
class RawHTML
class Strong
class Text
Show all
class InputReader(input: String)

Attributes

Supertypes
class Object
trait Matchable
class Any
case class Link(destination: String, title: Option[String], inlines: List[Inline]) extends Inline

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Inline
trait Node
class Object
trait Matchable
class Any
Show all
case class LinkReference(destination: String, title: Option[String])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
trait BlockParser
class Object
trait Matchable
class Any
Self type
case class ListBlock(data: ListData, items: List[ListItem]) extends Block

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Block
trait Node
class Object
trait Matchable
class Any
Show all
object ListBlockParser extends BlockParser

Attributes

Supertypes
trait BlockParser
class Object
trait Matchable
class Any
Self type
case class ListData(isOrdered: Boolean, bulletChar: Option[Char], startNumber: Option[Int], delimiter: Option[Char], isTight: Boolean, indent: Int)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ListItem(content: List[Block])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait Node

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Block
class BlockQuote
class Code
class HTMLBlock
class Heading
class ListBlock
class Paragraph
class Document
trait Inline
class AutoLink
class C
object EndOfInput
class CodeSpan
class Emphasis
class Image
class Link
class RawHTML
class Strong
class Text
Show all
case class Paragraph(inlines: List[Inline]) extends Block

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Block
trait Node
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
trait BlockParser
class Object
trait Matchable
class Any
Self type
case class RawHTML(content: String) extends Inline

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Inline
trait Node
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
trait BlockParser
class Object
trait Matchable
class Any
Self type
case class SoftLineBreak() extends Inline

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Inline
trait Node
class Object
trait Matchable
class Any
Show all
case class Strong(inlines: List[Inline]) extends Inline

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Inline
trait Node
class Object
trait Matchable
class Any
Show all
case class Text(content: String) extends Inline

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Inline
trait Node
class Object
trait Matchable
class Any
Show all
case class ThematicBreak() extends Block

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Block
trait Node
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
trait BlockParser
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def analyzeDelimiter(node: DLListNode[Inline]): DelimiterInfo
def escapeXml(s: String): String
def extractAndProcessCodeSpanContent(start: DLListNode[Inline], end: DLListNode[Inline]): String
def extractHeaders(document: Document): List[(Int, String)]
def extractInlinesBetween(start: DLListNode[Inline], end: DLListNode[Inline]): List[Inline]
def getCharFromNode(node: DLListNode[Inline]): Char
def inlinesToPlainText(inlines: List[Inline]): String
def isAbsoluteUri(str: String): Boolean
def isEmailAddress(str: String): Boolean
def isHtmlTag(str: String): Boolean
def isUnicodePunctuation(c: Char): Boolean
def isUnicodeWhitespace(c: Char): Boolean
def lookForLinkOrImage(current: DLListNode[Inline], inlineNodes: DLList[Inline], delimiterStack: Stack[DelimiterInfo], linkRefs: Map[String, LinkReference]): DLListNode[Inline]
def parseDocument(stream: LazyList[C]): (Document, Map[String, LinkReference])
def parseDocumentContent(input: String): Document
def parseDocumentContentWithRefs(input: String): (Document, Map[String, LinkReference])
def parseInline(inlines: List[Inline], linkRefs: Map[String, LinkReference]): List[Inline]
def processCodeSpan(node: DLListNode[Inline]): DLListNode[Inline]
def processEmphasis(delimiterStack: Stack[DelimiterInfo]): Unit
def processLineBreak(node: DLListNode[Inline]): DLListNode[Inline]
def renderToHTML(md: String): String
def renderToHTML(node: Node): String
def renderToXML(doc: Document, system: String): String

Concrete fields

val HTMLEntities: Map[String, String]
val logger: Logger
val platform: String