seikichi / restructured

Pure JavaScript reStructuredText parser
58 stars 15 forks source link

row:column coordinates #8

Closed cco3 closed 5 years ago

cco3 commented 6 years ago

It'd be nice if the generated document could include data about the source, including the starting coordinates and ending coordinates (row:column). This would allow for use cases such as interactive editors.

cco3 commented 5 years ago

Apparently this is readily available by setting the position option.