All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ilcali.lmxml-markdown_2.8.2.0.1.2.source-code.markdown.scala Maven / Gradle / Ivy

package lmxml
package markdown

import com.tristanhunt.knockoff.{
  Discounter,
  Block
}

trait MarkdownParsing extends LmxmlParsers with Discounter {
  def markdownNode: Parser[TopLevel] =
    "md" ~> (stringLit | multiLine | strWrapper) ^^  {
      s => TextNode(toXHTML(knockoff(s)).toString, true, _)
    }

  override def topLevel = markdownNode | super.topLevel
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy