* Block Lexer
(options)
| 112 | */ |
| 113 | |
| 114 | function Lexer(options) { |
| 115 | this.tokens = []; |
| 116 | this.tokens.links = {}; |
| 117 | this.options = options || marked.defaults; |
| 118 | this.rules = block.normal; |
| 119 | |
| 120 | if (this.options.gfm) { |
| 121 | if (this.options.tables) { |
| 122 | this.rules = block.tables; |
| 123 | } else { |
| 124 | this.rules = block.gfm; |
| 125 | } |
| 126 | } |
| 127 | } |
| 128 | |
| 129 | /** |
| 130 | * Expose Block Rules |
nothing calls this directly
no outgoing calls
no test coverage detected