If there is a line of text above or below selected text to be highlighted, the formatting fails. If the first line of selected text is not left-aligned, formatting fails.
"Failure" is a result where only part of the code is formatted and the rest is truncated, or maybe all of the code is deleted. (Ctrl-Z to recover)
Examples:
This describes a block of code:
code_line1
code_line2
This summarizes the code.
If the two lines of code are selected where they are, from 'c' in line1 to '2' in line2, formatting fails. Separation is required:
This describes a block of code, preceded by an empty line:
code_line1
code_line2
This summarizes the code, which is followed by an empty line.
If the code is indented, formatting fails:
This describes a block of code, preceded by an empty line:
code_line1_indented
code_line2 (indented or not)
This summarizes the code, which is followed by an empty line.
I suspect this is related to the issue reported in #90.
If there is a line of text above or below selected text to be highlighted, the formatting fails. If the first line of selected text is not left-aligned, formatting fails.
"Failure" is a result where only part of the code is formatted and the rest is truncated, or maybe all of the code is deleted. (Ctrl-Z to recover)
Examples:
If the two lines of code are selected where they are, from 'c' in line1 to '2' in line2, formatting fails. Separation is required:
If the code is indented, formatting fails:
I suspect this is related to the issue reported in #90.
HTH