ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Data\Text\Markup Interface Reference
+ Inheritance diagram for ILIAS\Data\Text\Markup:
+ Collaboration diagram for ILIAS\Data\Text\Markup:

Public Types

enum  MarkdownRegExps : string { REF = '\[(.)*\]\:(.)+' }
 Regular expressions to detect constructs from CommonMarkdown. More...
 

Detailed Description

Definition at line 23 of file Markup.php.

Member Enumeration Documentation

◆ MarkdownRegExps

enum ILIAS::Data::Text::Markup::MarkdownRegExps : string

Regular expressions to detect constructs from CommonMarkdown.

According to: https://commonmark.org/help/tutorial/

Enumerator
REF 

Definition at line 28 of file MarkdownRegExps.php.

29{
30 case HEADINGS = '^(\#){1,6}(\ )';
31 case UNORDERED_LIST = '^(\[-*+] )';
32 case ORDERED_LIST = '^([0-9]+)(\.\ )';
33 case LINE_BREAK = "(( )|(\\\\))$";
34 case PARAGRAPH = "$^$";
35 case BLOCKQUOTE = '^(>)+';
36 case CODEBLOCK = "^```";
37 case LINK = '\[(.)*\]\‍((.)+\‍)'; // [title](url)
38 case LINK_REF_USAGE = '\[(.)*\]\‍([.]+\‍)'; // [title][id]
39 case IMAGE = '\!\[(.)*\]\‍((.)+\‍)'; // ![](url)
40 case IMAGE_REF_USAGE = '\!\[(.)+\]'; // ![][id]
41 case REF = '\[(.)*\]\:(.)+'; // [id]:url
42}

The documentation for this interface was generated from the following files: