1 /** 2 * Copyright © DiamondMVC 2019 3 * License: MIT (https://github.com/DiamondMVC/Diamond/blob/master/LICENSE) 4 * Author: Jacob Jensen (bausshf) 5 */ 6 module diamond.markdown.type; 7 8 /// Enumeration of markdown types. 9 enum MarkdownType 10 { 11 /// Plain content. 12 content, 13 /// New-line. 14 newline, 15 /// The start of content wrapping elements. 16 contentWrapStart, 17 /// The end of content wrapping elements. 18 contentWrapEnd, 19 /// Header. 20 header, 21 /// Unordered list-start. 22 ulistStart, 23 /// Unordered list-end. 24 ulistEnd, 25 /// Ordered list-start. 26 olistStart, 27 /// Ordered list-end. 28 olistEnd, 29 /// List-item start. 30 listItemStart, 31 /// List-item end. 32 listItemEnd, 33 /// Link. 34 link, 35 /// Image. 36 image, 37 /// Code-block start. 38 codeStart, 39 /// Code-block end. 40 codeEnd, 41 /// Block-quote start 42 blockQuoteStart, 43 /// Block-quote end 44 blockQuoteEnd, 45 /// Table start 46 tableStart, 47 /// Table-row start 48 tableRowStart, 49 /// Table-head start 50 tableHeadStart, 51 /// Table-cell start 52 tableCellStart, 53 /// Table end 54 tableEnd, 55 /// Table-row end 56 tableRowEnd, 57 /// Table-head end 58 tableHeadEnd, 59 /// Table-cell end 60 tableCellEnd, 61 /// Horizontal 62 horizontal, 63 // Inline-code 64 inlineCode 65 }