This adds a script mark_blocks.py. It processes an .Rmd file to detect
opening and closing Pandoc div markers (:::), raises an error if there are too
many closing markers, warns if there is a missing closing marker, and writes a
new version of the file with _marked_ prefix (by default) that notes the
divisions with | at the start of the line, with another | for each extra
level of division.
This adds a script
mark_blocks.py
. It processes an .Rmd file to detect opening and closing Pandoc div markers (:::), raises an error if there are too many closing markers, warns if there is a missing closing marker, and writes a new version of the file with_marked_
prefix (by default) that notes the divisions with|
at the start of the line, with another|
for each extra level of division.