Unit ok_markdown

Uses
Classes, Interfaces, Objects and Records
Functions and Procedures
Types
Variables

Description

This is a test of Markdown syntax

Correct lists

end list

end list

end list

  1. list item #5.1

  2. list item #5.2

  3. list item #5.10

Simple list with multiline text

end list

List with nested list

List with more nesting

end list

You can even mix markdown and PasDoc tags

Incorrect lists

not a list

1not a list

1 not a list

1.not a list

Emphasis, aka italics, with asterisks or underscores.

Strong emphasis, aka bold, with asterisks or underscores.

Some bold text.

Some bold and italic text.

Some some bold and italic and italic and italic once again text.

Some italic text.

Some bold text with some tags: My name is ok_markdown, some begin end and a link to me: ok_markdown.

\*markers could be escaped

and also escaped at end\* of a word

or placed inside_word or placed_inside_word_multiple_times or at the end_

Multiplications are OK: A*B*C*D and with spaces too: A * B * C * D

underscore _ is used to name some deprecated thing: something_

Some inline code, some formatting inside code

Some preformatted code:

program Foo;
  Some long code
  with
  syntax highlight

Some Pascal code:

program Foo;
  Some long code
  with
  syntax highlight

Correct URLs:

Some one-line descr

Some multi-line descr

Escaped [] descr

\

a\

Bracket URL

Incorrect URLs:

(http://example)

[Some descr] (http://example)

[Some descr](http://example

[Bug fix: URL preceeded by block in square brackets] descr

Overview

Constants

foo = 1;

Description

Constants

foo = 1;

Bug fix: URL at the end of comment