You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
463 B
11 lines
463 B
<div class="container" (click)="onFocusIn()">
|
|
<div class="editor-container" *ngIf="showEditor">
|
|
<ngx-monaco-editor class="editor"
|
|
[options]="editorOptions"
|
|
[(ngModel)]="contents"
|
|
(ngModelChange)="onContentsChanged($event)"
|
|
#editor
|
|
></ngx-monaco-editor>
|
|
</div>
|
|
<div class="display" markdown katex [data]="contents"></div>
|
|
</div> |