-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about blank line handling #394
Comments
In the recent changes, I have a config
`CleanupUnnecessarySpaces`, please try this and see by setting it to `false`. I have to add in the
read me docs.
That said, having so many blank lines in markdown is not right since any markdown to html converter is going to ignore the extraneous blank lines and will keep it to one.
…On Thu, 1 Aug 2024 at 4:53 AM, Ted Spence ***@***.***> wrote:
Question about blank line handling in ReverseMarkdown:
I have a process that converts from Markdown to HTML and back again,
depending on various conditions. One user would like to create a fixed
number of blank lines in their content, and it seems like the pipeline ends
up trimming these blank lines.
Example: The following HTML converts into the following markdown:
<p>This is my first line!</p><p></p><p></p><p>This is the fourth line.</p>
Converts into this markdown: This is my first line!\r\n\r\nThis is the
fourth line.
Of course, when you convert this back into HTML later, there's only one
blank line. It seems like the markdown should have four \r\n pairs in it,
right?
—
Reply to this email directly, view it on GitHub
<#394>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAV3IUCAPPY4I7GB3O5II5TZPFWYJAVCNFSM6AAAAABLZNHETCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ2DCMJSGIYDCNA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Question about blank line handling in ReverseMarkdown:
I have a process that converts from Markdown to HTML and back again, depending on various conditions. One user would like to create a fixed number of blank lines in their content, and it seems like the pipeline ends up trimming these blank lines.
Example: The following HTML converts into the following markdown:
Converts into this markdown:
This is my first line!\r\n\r\nThis is the fourth line.
Of course, when you convert this back into HTML later, there's only one blank line. It seems like the markdown should have four
\r\n
pairs in it, right?The text was updated successfully, but these errors were encountered: