forked from MapComplete/MapComplete
Improve documentation
This commit is contained in:
parent
c4712f6cc1
commit
c610cfc6e8
3 changed files with 17 additions and 10 deletions
|
@ -14,6 +14,9 @@ export class FixedUiElement extends BaseUIElement {
|
|||
|
||||
AsMarkdown(): string {
|
||||
if (this.HasClass("code")) {
|
||||
if (this.content.indexOf("\n") > 0 || this.HasClass("block")) {
|
||||
return "\n```\n" + this.content + "\n```\n"
|
||||
}
|
||||
return "`" + this.content + "`"
|
||||
}
|
||||
if (this.HasClass("font-bold")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue