first steps in supporting markdown preview

This commit is contained in:
Johannes Rieken
2016-01-21 17:12:28 +01:00
parent 13eaadc104
commit 04643f8788
3 changed files with 25 additions and 6 deletions

View File

@@ -6,6 +6,9 @@
'use strict';
export interface IHTMLContentElement {
/**
* supports **bold**, __italics__, and [[actions]]
*/
formattedText?:string;
text?: string;
className?: string;
@@ -13,7 +16,8 @@ export interface IHTMLContentElement {
customStyle?: any;
tagName?: string;
children?: IHTMLContentElement[];
code?: { language: string; value: string; };
isText?: boolean;
role?: string;
markdown?: string;
code?: { language: string; value: string; };
}