fcl-md: cosmetic

all files:

  1. better use word 'Markdown' is this casing: 'Markdown', not 'MarkDown'. as you see on the site https://www.markdownguide.org/ this casing is the canonical. currently you have class names like TMarkDownTextBlock, TMarkDownLeafBlock, TMarkDownDocument, TMarkDownElement etc.

markdown.elements.pas:

  1. ids TWhitespaceMode, TPosition, TNodeStyle, TTextNodeKind need the prefix (e.g. TMarkdown) to not pollute the autocompletion and avoid future conflicts, half of them are generic names.

  2. better add prefix to this const: GrowSize = 10;. or it can be moved into implemenation part. this id is not used out the unit.

markdown.fpdocrender.pas:

  1. ids TElementType, TSectionType, SectionNodeNames, ElementNodeNames - too generic, maybe add prefix?

markdown.utils.pas:

  1. THashTable and maybe TUnicodeCharDynArray and many functions here, e.g. IsWhitespaceChar IsWhitespace MustEscape etc - too generic, maybe add prefix? or move into some container class (as static funcs to keep speed)?
Edited by Alexey Torgashin