Skip to content

How to prevent remark-stringify from trimming trailing newlines from handler return values? #719

Answered by wooorm
NickSto asked this question in Q&A
Discussion options

You must be logged in to vote
  • Why do you want the legacy break format (two trailing spaces, then a line ending)?
    It’s something that many users have found complex, and tools have often trimmed away
  • Why is this exact roundtripping important? remark does roundtrip in meaning, but can’t always exactly match the input

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@NickSto
Comment options

@wooorm
Comment options

@NickSto
Comment options

@wooorm
Comment options

Answer selected by ChristianMurphy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants