WorkplaceX.org
Boost your Business App
The framework comes with a markdown (*.md) text parser. It contains a superset of: https://www.markdownguide.org/basic-syntax/
Additionally the parser supports custom syntax elements such as:
Markdown (*.md) text can be transformed into (*.html) with the following function:
string html = UtilFramework.TextMdToHtml(textMd);
The following syntax elements are parsed interpreted:
Header
# Title Level 1
## Title Level 2
Font Bold
**Bold**
Font Italic
*Italic*
Bullet
* Bullet 1
* Bullet 2
Image
![Description](/assets/my.png)
Hyperlink
[Description](https://www.workplacex.org)
https://www.workplacex.org
Code
` ` `csharp (Without spaces!)
int a = 0;
` ` `
Note (Custom Syntax)
(Note)
Text shown in a yellow note.
(Note)
Youtube (Custom Syntax)
(Youtube Link="https://www.youtube.com/embed/ORDp3uNPrSY")
It's possible to further extend the md syntax parser and define new custom elements. All source code of lexer and syntax parser is in file: Framework/Framework/UtilDoc.cs
Provide feedback to this page if you have any question regarding content or something should get updated.