(block, depth, data = Map())
| 146 | } |
| 147 | |
| 148 | function getBlockDividerChunk(block, depth, data = Map()) { |
| 149 | return { |
| 150 | text: '\r', |
| 151 | inlines: [OrderedSet()], |
| 152 | entities: new Array(1), |
| 153 | blocks: [ |
| 154 | { |
| 155 | type: block, |
| 156 | data, |
| 157 | depth: Math.max(0, Math.min(MAX_DEPTH, depth)), |
| 158 | }, |
| 159 | ], |
| 160 | }; |
| 161 | } |
| 162 | |
| 163 | function getBlockTypeForTag(tag, lastList) { |
| 164 | switch (tag) { |
no outgoing calls
no test coverage detected
searching dependent graphs…