UNPKG

micromark

Version:

small commonmark compliant markdown parser with positional info and concrete tokens

13 lines (9 loc) 236 B
'use strict' // chunks (replacement characters, tabs, or line endings). function movePoint(point, offset) { point.column += offset point.offset += offset point._bufferIndex += offset return point } module.exports = movePoint