M2DocWikiTextServices 3.3.1

M2DocWikiTextServices

Services available for WikiText insertion.

String.fromAsciiDocString() : Sequence{org.obeonetwork.m2doc.element.MElement}

Returns a Sequence of MElement corresponding to the given AsciiDoc String.

Parameter

  • markupContents: The markup contents.

Example

  • ‘The First Chapter\n—————–‘.fromAsciiDocString()
    • The Sequence of MElement corresponding to the given AsciiDoc String.

String.fromAsciiDocString(String) : Sequence{org.obeonetwork.m2doc.element.MElement}

Returns a Sequence of MElement corresponding to the given AsciiDoc String.

Parameter

  • markupContents: The markup contents.
  • baseURI: The base URI to use for link and images resolving.

Example

  • ‘The First Chapter\n—————–‘.fromAsciiDocString(‘https://www.m2doc.org/’)
    • The Sequence of MElement corresponding to the given AsciiDoc String.

String.fromAsciiDocURI() : Sequence{org.obeonetwork.m2doc.element.MElement}

Returns a Sequence of MElement corresponding to the given AsciiDoc contents at the given URI.

Parameter

  • srcURI: The markup contents URI.

Example

  • ‘contents.txt’.fromAsciiDocString()
    • The Sequence of MElement corresponding to the given AsciiDoc contents at the given URI.

String.fromConfluenceString() : Sequence{org.obeonetwork.m2doc.element.MElement}

Returns a Sequence of MElement corresponding to the given Confluence String.

Parameter

  • markupContents: The markup contents.

Example

  • ‘h1. The First Chapter’.fromConfluenceString()
    • The Sequence of MElement corresponding to the given Confluence String.

String.fromConfluenceString(String) : Sequence{org.obeonetwork.m2doc.element.MElement}

Returns a Sequence of MElement corresponding to the given Confluence String.

Parameter

  • markupContents: The markup contents.
  • baseURI: The base URI to use for link and images resolving.

Example

  • ‘h1. The First Chapter’.fromConfluenceString(‘https://www.m2doc.org/’)
    • The Sequence of MElement corresponding to the given Confluence String.

String.fromConfluenceURI() : Sequence{org.obeonetwork.m2doc.element.MElement}

Returns a Sequence of MElement corresponding to the given Confluence contents at the given URI.

Parameter

  • srcURI: The markup contents URI.

Example

  • ‘contents.txt’.fromConfluenceString()
    • The Sequence of MElement corresponding to the given Confluence contents at the given URI.

String.fromMarkdownString() : Sequence{org.obeonetwork.m2doc.element.MElement}

Returns a Sequence of MElement corresponding to the given Markdown String.

Parameter

  • markupContents: The markup contents.

Example

  • ‘The First Chapter\n=================’.fromMarkdownString()
    • The Sequence of MElement corresponding to the given Markdown String.

String.fromMarkdownString(String) : Sequence{org.obeonetwork.m2doc.element.MElement}

Returns a Sequence of MElement corresponding to the given Markdown String.

Parameter

  • markupContents: The markup contents.
  • baseURI: The base URI to use for link and images resolving.

Example

  • ‘The First Chapter\n=================’.fromMarkdownString(‘https://www.m2doc.org/’)
    • The Sequence of MElement corresponding to the given Markdown String.

String.fromMarkdownURI() : Sequence{org.obeonetwork.m2doc.element.MElement}

Returns a Sequence of MElement corresponding to the given Markdown contents at the given URI.

Parameter

  • srcURI: The markup contents URI.

Example

  • ‘contents.txt’.fromMarkdownString()
    • The Sequence of MElement corresponding to the given Markdown contents at the given URI.

String.fromMediaWikiString() : Sequence{org.obeonetwork.m2doc.element.MElement}

Returns a Sequence of MElement corresponding to the given MediaWiki String.

Parameter

  • markupContents: The markup contents.

Example

  • ’== The First Chapter ==’.fromMediaWikiString()
    • The Sequence of MElement corresponding to the given MediaWiki String.

String.fromMediaWikiString(String) : Sequence{org.obeonetwork.m2doc.element.MElement}

Returns a Sequence of MElement corresponding to the given MediaWiki String.

Parameter

  • markupContents: The markup contents.
  • baseURI: The base URI to use for link and images resolving.

Example

  • ’== The First Chapter ==’.fromMediaWikiString(‘https://www.m2doc.org/’)
    • The Sequence of MElement corresponding to the given MediaWiki String.

String.fromMediaWikiURI() : Sequence{org.obeonetwork.m2doc.element.MElement}

Returns a Sequence of MElement corresponding to the given MediaWiki contents at the given URI.

Parameter

  • srcURI: The markup contents URI.

Example

  • ‘contents.txt’.fromMediaWikiString()
    • The Sequence of MElement corresponding to the given MediaWiki contents at the given URI.

String.fromTWikiString() : Sequence{org.obeonetwork.m2doc.element.MElement}

Returns a Sequence of MElement corresponding to the given TWiki String.

Parameter

  • markupContents: The markup contents.

Example

  • ’—+ The First Chapter’.fromTWikiString()
    • The Sequence of MElement corresponding to the given TWiki String.

String.fromTWikiString(String) : Sequence{org.obeonetwork.m2doc.element.MElement}

Returns a Sequence of MElement corresponding to the given TWiki String.

Parameter

  • markupContents: The markup contents.
  • baseURI: The base URI to use for link and images resolving.

Example

  • ’—+ The First Chapter’.fromTWikiString(‘https://www.m2doc.org/’)
    • The Sequence of MElement corresponding to the given TWiki String.

String.fromTWikiURI() : Sequence{org.obeonetwork.m2doc.element.MElement}

Returns a Sequence of MElement corresponding to the given TWiki contents at the given URI.

Parameter

  • srcURI: The markup contents URI.

Example

  • ‘contents.txt’.fromTWikiString()
    • The Sequence of MElement corresponding to the given TWiki contents at the given URI.

String.fromTextileString() : Sequence{org.obeonetwork.m2doc.element.MElement}

Returns a Sequence of MElement corresponding to the given Textile String.

Parameter

  • markupContents: The markup contents.

Example

  • ‘h1. The First Chapter’.fromTextileString()
    • The Sequence of MElement corresponding to the given Textile String.

String.fromTextileString(String) : Sequence{org.obeonetwork.m2doc.element.MElement}

Returns a Sequence of MElement corresponding to the given Textile String.

Parameter

  • markupContents: The markup contents.
  • baseURI: The base URI to use for link and images resolving.

Example

  • ‘h1. The First Chapter’.fromTextileString(‘https://www.m2doc.org/’)
    • The Sequence of MElement corresponding to the given Textile String.

String.fromTextileURI() : Sequence{org.obeonetwork.m2doc.element.MElement}

Returns a Sequence of MElement corresponding to the given Textile contents at the given URI.

Parameter

  • srcURI: The markup contents URI.

Example

  • ‘contents.txt’.fromTextileString()
    • The Sequence of MElement corresponding to the given Textile contents at the given URI.

String.fromTracWikiString() : Sequence{org.obeonetwork.m2doc.element.MElement}

Returns a Sequence of MElement corresponding to the given TracWiki String.

Parameter

  • markupContents: The markup contents.

Example

  • ’= The First Chapter =’.fromTracWikiString()
    • The Sequence of MElement corresponding to the given TracWiki String.

String.fromTracWikiString(String) : Sequence{org.obeonetwork.m2doc.element.MElement}

Returns a Sequence of MElement corresponding to the given TracWiki String.

Parameter

  • markupContents: The markup contents.
  • baseURI: The base URI to use for link and images resolving.

Example

  • ’= The First Chapter =’.fromTracWikiString(‘https://www.m2doc.org/’)
    • The Sequence of MElement corresponding to the given TracWiki String.

String.fromTracWikiURI() : Sequence{org.obeonetwork.m2doc.element.MElement}

Returns a Sequence of MElement corresponding to the given TracWiki contents at the given URI.

Parameter

  • srcURI: The markup contents URI.

Example

  • ‘contents.txt’.fromTracWikiString()
    • The Sequence of MElement corresponding to the given TracWiki contents at the given URI.