object InlineParsers
Provides all inline parsers for Markdown text except for those dealing with verbatim HTML markup which this library treats as an optional feature that has to be explicitly mixed in.
Inline parsers deal with markup within a block of text, such as a link or emphasized text. They are used in the second phase of parsing, after the block parsers have cut the document into a (potentially nested) block structure.
- Alphabetic
- By Inheritance
- InlineParsers
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def em(char: Char)(implicit recParsers: RecursiveSpanParsers): PrefixedParser[Emphasized]
Parses a span of emphasized text enclosed by one occurrence of the specified character.
- val enclosedByAsterisk: SpanParserBuilder
Parses either strong spans enclosed in double asterisks or emphasized spans enclosed in single asterisks.
- def enclosedByDoubleChar(c: Char)(implicit recParsers: RecursiveSpanParsers): PrefixedParser[List[Span]]
Parses a span enclosed by two consecutive occurrences of the specified character.
Parses a span enclosed by two consecutive occurrences of the specified character. Recursively parses nested spans, too.
- def enclosedBySingleChar(c: Char)(implicit recParsers: RecursiveSpanParsers): PrefixedParser[List[Span]]
Parses a span enclosed by a single occurrence of the specified character.
Parses a span enclosed by a single occurrence of the specified character. Recursively parses nested spans, too.
- val enclosedByUnderscore: SpanParserBuilder
Parses either strong spans enclosed in double underscores or emphasized spans enclosed in single underscores.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val escapedChar: Parser[String]
Parses a single escaped character, only recognizing the characters the Markdown syntax document specifies as escapable.
Parses a single escaped character, only recognizing the characters the Markdown syntax document specifies as escapable. The
|
has been added to that list to support escaping in tables in the GitHub Flavor syntax.Note: escaping > is not mandated by the official syntax description, but by the official test suite.
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val image: SpanParserBuilder
Parses an inline image.
Parses an inline image. Recognizes both, an inline image
![text](url)
and an image reference![text][id]
. - final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lineBreak: SpanParserBuilder
Parses an explicit hard line break.
- lazy val link: SpanParserBuilder
Parses a link, including nested spans in the link text.
Parses a link, including nested spans in the link text. Recognizes both, an inline link
[text](url)
and a link reference[text][id]
. - val literalSpan: SpanParserBuilder
Parses a literal span enclosed by one or more backticks.
Parses a literal span enclosed by one or more backticks. Does neither parse nested spans nor Markdown escapes.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val simpleLink: SpanParserBuilder
Parses a simple inline link in the form of <http://someURL/>
- def span(start: PrefixedParser[Any], end: PrefixedParser[String])(implicit recParsers: RecursiveSpanParsers): PrefixedParser[List[Span]]
Creates a parser for an inline span based on the specified parsers that represent the start and end condition.
Creates a parser for an inline span based on the specified parsers that represent the start and end condition.
- start
the parser that parses the beginning of the span, result will be discarded
- end
the end delimiter of the span
- def strong(char: Char)(implicit recParsers: RecursiveSpanParsers): PrefixedParser[Strong]
Parses a span of strong text enclosed by two consecutive occurrences of the specified character.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()