2023-04-15 15:08:07 +00:00
|
|
|
```
|
|
|
|
██████╗ ██████╗ ██╗ ██╗███████╗██████╗
|
|
|
|
██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗
|
|
|
|
██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝
|
|
|
|
██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗
|
|
|
|
██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║
|
|
|
|
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
|
|
|
|
```
|
|
|
|
# class Markdown (Details)
|
|
|
|
> namespace: **VDM\Joomla\Gitea\Miscellaneous**
|
2023-10-10 09:39:23 +00:00
|
|
|
> extends: **Api**
|
2023-04-15 15:08:07 +00:00
|
|
|
```uml
|
|
|
|
@startuml
|
|
|
|
class Markdown #Gold {
|
|
|
|
+ render(string $markdownText, bool $isWikiPage = false, ...) : ?string
|
|
|
|
+ raw(string $rawMarkdown) : ?string
|
|
|
|
}
|
|
|
|
|
|
|
|
note right of Markdown::render
|
|
|
|
Render a markdown document as HTML.
|
|
|
|
|
|
|
|
since: 3.2.0
|
|
|
|
return: ?string
|
|
|
|
|
|
|
|
arguments:
|
|
|
|
string $markdownText
|
|
|
|
bool $isWikiPage = false
|
|
|
|
string $context = 'string'
|
|
|
|
string $mode = 'string'
|
|
|
|
end note
|
|
|
|
|
|
|
|
note right of Markdown::raw
|
|
|
|
Render raw markdown as HTML.
|
|
|
|
|
|
|
|
since: 3.2.0
|
|
|
|
return: ?string
|
|
|
|
end note
|
|
|
|
|
|
|
|
@enduml
|
|
|
|
```
|
|
|
|
|
|
|
|
---
|
|
|
|
```
|
|
|
|
██╗ ██████╗██████╗
|
|
|
|
██║██╔════╝██╔══██╗
|
|
|
|
██║██║ ██████╔╝
|
|
|
|
██ ██║██║ ██╔══██╗
|
|
|
|
╚█████╔╝╚██████╗██████╔╝
|
|
|
|
╚════╝ ╚═════╝╚═════╝
|
|
|
|
```
|
|
|
|
> Build with [Joomla Component Builder](https://git.vdm.dev/joomla/Component-Builder)
|
|
|
|
|