Module MaRuKu::Helpers
In: lib/maruku.rb
lib/maruku/helpers.rb

A collection of helper functions for creating Markdown elements. They hide the particular internal representations.

Always use these rather than creating an {MDElement} directly.

Methods

Public Instance methods

Attribute list definition

@param children [MDElement, String, Array<MDElement, String>]

  The child nodes.
  If the first child is a \{#md\_ial}, it's merged with `al`

An email to be linkified (e.g. `<andrea@rubyforge.org>` or `<andrea@rubyforge.org>`).

inline attribute list

A definition of a reference (e.g. `[1]: url [properties]`).

A URL to be linkified (e.g. `<www.example.com/>`).

A server directive (e.g. `<?target code… ?>`)

[Validate]