package markdown
- Alphabetic
- Public
- All
Type Members
-
class
AnchorLinkSerializer
extends ToHtmlSerializerPlugin
Serialize an AnchorLinkSuperNode, which can contain multiple children.
Serialize an AnchorLinkSuperNode, which can contain multiple children. Render as a separate anchor link for section markers on headers.
-
abstract
class
ApiDocDirective
extends ExternalLinkDirective
API doc directive.
API doc directive.
Link to javadoc and scaladoc based on package prefix. Will match the configured base URL with the longest package prefix. For example, given:
-
scaladoc.akka.base_url=http://doc.akka.io/api/akka/x.y.z-scaladoc.akka.http.base_url=http://doc.akka.io/api/akka-http/x.y.zThen
@scaladoc[Http](akka.http.scaladsl.Http)will match the latter. -
case class
CalloutDirective
(name: String, defaultTitle: String) extends ContainerBlockDirective with Product with Serializable
Callout directive.
Callout directive.
Renders call-out divs.
-
class
ClassyLinkSerializer
extends ToHtmlSerializerPlugin
Serialize a ClassyLink, adding the class attribute.
-
abstract
class
ContainerBlockDirective
extends Directive
Container block directive.
-
case class
DependencyDirective
(variables: Map[String, String]) extends LeafBlockDirective with Product with Serializable
Dependency directive.
-
abstract
class
Directive
extends AnyRef
Base directive class, for directive specific serialization.
-
class
DirectiveSerializer
extends ToHtmlSerializerPlugin
Serialize directives, checking the name and format against registered directives.
-
case class
ExtRefDirective
(page: Page, variables: Map[String, String]) extends ExternalLinkDirective with Product with Serializable
ExtRef directive.
ExtRef directive.
Link to external pages using URL templates.
-
abstract
class
ExternalLinkDirective
extends InlineDirective with SourceDirective
Link to external sites using URI templates.
-
case class
FiddleDirective
(page: Page, variables: Map[String, String]) extends LeafBlockDirective with SourceDirective with Product with Serializable
Fiddle directive.
Fiddle directive.
Extracts fiddles from source files into fiddle blocks.
- case class Frontin (header: Map[String, String], body: String) extends Product with Serializable
-
case class
GitHubDirective
(page: Page, variables: Map[String, String]) extends ExternalLinkDirective with Product with Serializable
GitHub directive.
GitHub directive.
Link to GitHub project entities like issues, commits and source code. Supports most of the references documented in: https://help.github.com/articles/autolinked-references-and-urls/
-
case class
Header
(path: String, label: Node, group: Option[String]) extends Linkable with Product with Serializable
Header in a page, with anchor path and markdown nodes.
-
abstract
class
InlineDirective
extends Directive
Inline directive.
- case class InlineGroupDirective (groups: Seq[String]) extends InlineDirective with Product with Serializable
-
case class
InlineWrapDirective
(typ: String) extends InlineDirective with Product with Serializable
Inline wrap directive
Inline wrap directive
Wraps inner contents in a
span, optionally with customidand/orclassattributes. - case class JavadocDirective (page: Page, variables: Map[String, String]) extends ApiDocDirective with Product with Serializable
-
abstract
class
LeafBlockDirective
extends Directive
Leaf block directive.
-
sealed abstract
class
Linkable
extends AnyRef
Common interface for Page and Header, which are linkable.
-
case class
Page
(file: File, path: String, rootSrcPage: String, label: Node, h1: Header, headers: Forest[Header], markdown: RootNode, group: Option[String], properties: Properties) extends Linkable with Product with Serializable
Markdown page with target path, parsed markdown, and headers.
- case class PropertyUrl (property: String, variables: (String) ⇒ Option[String]) extends Product with Serializable
-
class
Reader
extends AnyRef
A configured markdown parser.
-
case class
RefDirective
(page: Page, pathExists: (String) ⇒ Boolean, convertPath: (String) ⇒ String) extends InlineDirective with SourceDirective with Product with Serializable
Ref directive.
Ref directive.
Refs are for links to internal pages. The file extension is replaced when rendering. Links are validated to ensure they point to a known page.
- case class ScaladocDirective (page: Page, variables: Map[String, String]) extends ApiDocDirective with Product with Serializable
-
case class
SnipDirective
(page: Page, variables: Map[String, String]) extends LeafBlockDirective with SourceDirective with Product with Serializable
Snip directive.
Snip directive.
Extracts snippets from source files into verbatim blocks.
-
sealed
trait
SourceDirective
extends AnyRef
Directives with defined "source" semantics.
-
abstract
class
StyledVerbatimSerializer
extends VerbatimSerializer
Add markup around verbatim blocks.
-
class
TableOfContents
extends AnyRef
Create markdown list for table of contents on a page.
-
case class
TocDirective
(location: Location[Page]) extends LeafBlockDirective with Product with Serializable
Table of contents directive.
Table of contents directive.
Placeholder to insert a serialized table of contents, using the page and header trees. Depth and whether to include pages or headers can be specified in directive attributes.
-
case class
Url
(base: URI) extends Product with Serializable
Small wrapper around URI to help update individual components.
-
case class
VarDirective
(variables: Map[String, String]) extends InlineDirective with Product with Serializable
Var directive.
Var directive.
Looks up property values and renders escaped text.
-
case class
VarsDirective
(variables: Map[String, String]) extends ContainerBlockDirective with Product with Serializable
Vars directive.
Vars directive.
Replaces property values in verbatim blocks.
-
case class
WrapDirective
(typ: String) extends ContainerBlockDirective with Product with Serializable
Wrap directive.
Wrap directive.
Wraps inner content in a
divorp, optionally with customidand/orclassattributes. -
class
Writer
extends AnyRef
A configured markdown to HTML serializer.
Value Members
-
object
Breadcrumbs
Create markdown list for breadcrumbs path to a page location.
- object DependencyDirective extends Serializable
- object ExternalLinkDirective
- object FiddleDirective extends Serializable
- object Frontin extends Serializable
- object Groups
-
object
Index
Create index of pages from parsed markdown.
- object Page extends Serializable
-
object
Path
Helper methods for paths.
-
object
PrettifyVerbatimSerializer
extends StyledVerbatimSerializer
Add prettify markup around verbatim blocks.
- object RefDirective extends Serializable
- object SnipDirective extends Serializable
- object Snippet
- object Url extends Serializable
- object Writer