frontend/src/app/components/nodes/markdown/markdown.component.html
garrettmills 9258bf4d71
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Clean up styling for markdown rendered HTML (#34)
2020-10-30 12:31:46 -05:00

11 lines
423 B
HTML

<div class="container" (dblclick)="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-display" markdown katex [data]="contents"></div>
</div>