Microdown
Microdown copied to clipboard
end of line conventions....
MicDocumentWriter >> usedNewLine
"Return the encoded new line. Useful for tests."
^ canvas stream usedNewLine
MicOutputStream >> usedNewLine
^ self configuration newLine
So the convention is based on the configuration.
In particular it means that it is unclear how we can use
MicDocumentWriter >> crlfAsNewLine
canvas crlfAsNewLine
OK so this means that crlfAsNewLine is needed in case we want to really use crlf. I will update the comment.