tag:support.markedapp.com,2011-09-11:/discussions/problems/101726-line-breaks-from-ulysses-for-mac-not-workingMarked: Discussion 2016-08-11T03:15:51Ztag:support.markedapp.com,2011-09-11:Comment/370047412015-06-01T16:58:59Z2015-06-01T16:59:00ZLine Breaks from Ulysses for Mac not working<div><p>After a little more experimenting I found a work around. Instead
of relying on the "-" to create the unordered list I escaped it in
Ulysses. So, I would type something like this:</p>
<p>- This is what I want to be my first paragraph in my first list
item. This is what I want to be my first paragraph in my first list
item. This is what I want to be my first paragraph in my first list
item.</p>
<p>This is what I want to be my second paragraph in my first list
item. This is what I want to be my second paragraph in my first
list item.This is what I want to be my second paragraph in my first
list item.</p>
<p>- This is what I want to be my first paragraph in my SECOND list
item. This is what I want to be my first paragraph in my SECOND
list item. This is what I want to be my first paragraph in my
SECOND list item. This is what I want to be my first paragraph in
my SECOND list item.</p>
<p>Two things to keep in mind, In between paragraphs a normal
"return" on the keyboard will make the single blank line break. The
"\" is the escape character.</p>
<p>Using this approach, the preview in Ulysses looks they way I'd
like, AND also when opening the file in Marked 2 it looks exactly
the same.</p>
<p>Hope this helps someone else.</p></div>Dennistag:support.markedapp.com,2011-09-11:Comment/370047412015-06-01T17:23:02Z2015-06-01T17:23:02ZLine Breaks from Ulysses for Mac not working<div><p>Can you show me a screenshot of your markdown in Ulysses without
the escaping?</p>
<p>It's quite likely that the blank line is causing Ulysses to
export it's own forced line break, which then causes a list to end,
thus the next indented paragraph is viewed as a code block
(indented 4 spaces or 1 tab).</p>
<p>Also check and see if you have "retain line breaks in
paragraphs" enabled under Processor settings, and try toggling it
to see if it makes a difference.</p>
<p>It's a pain to have to escape your Markdown, so I'd prefer to
find a solution that was more automatic. Ulysses does some odd
things to the preview Markdown when it's converted, so I may have
to compensate.</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/370047412015-06-01T17:34:04Z2015-06-01T17:34:05ZLine Breaks from Ulysses for Mac not working<div><p>Hi Brett,<br>
Here is the screenshot -<br>
[image: Inline image 1]</p>
<p>To make the second paragraph in the list I pressed
"shift+enter".</p>
<p>Hope this helps..</p>
<p>-Dennis</p></div>D Stag:support.markedapp.com,2011-09-11:Comment/370047412015-06-01T17:41:34Z2015-06-01T17:41:34ZLine Breaks from Ulysses for Mac not working<div><p>I'm not getting those results at all:</p>
<p><img alt="" src="http://ckyp.us/19Eyk+"></p>
<p>Which processor are you using? And did you toggle the preserve
paragraphs setting?</p>
<p>The output from Ulysses Quick Preview appears to be properly
adding the line break and indent to signify a paragraph. Are you
inserting any manual tabs in the second paragraph? Also, which
versions of Ulysses and Marked are you using?</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/370047412015-06-01T19:26:10Z2015-06-01T19:26:11ZLine Breaks from Ulysses for Mac not working<div><p>Hi Brett,<br>
Thank you very much for spending time on this. I think this must be
a<br>
problem with Ulysses. Here is a screenshot of the Ulysses .md file
as it<br>
comes into sublime text editor: [image: Inline image 1]</p>
<p>You can see that the actual md file from ulysses is wrong. It
put a tab in<br>
front of that second paragraph that does not exist in Ulysses
itself when<br>
I'm looking at the doc. So I think Marked is working fine and the
problem<br>
is with Ulysses.</p>
<p>The version of Ulysses I'm using is the trial. I'd like to buy
the full<br>
version if I knew it would fix the problem, but I'm not sure it
will.</p>
<p>Thanks,<br>
Dennis</p></div>D Stag:support.markedapp.com,2011-09-11:Comment/370047412015-06-01T19:53:38Z2015-06-01T19:53:38ZLine Breaks from Ulysses for Mac not working<div><p>No, that's actually correct. Within a list item, you have to
indent an<br>
enclosed paragraph one time (4 spaces or a tab) for it to be
included in<br>
that item. Otherwise it ends the list and begins a paragraph
outside of<br>
the list. The question is only why Marked isn't rendering it as
such.<br>
Could you do me a favor and try adding an extra line
<em>before</em> the first<br>
list item? The other thing you could try is switching processors
in<br>
Marked (between Discount and MultiMarkdown) to see if one or the
other<br>
gets it right with the Ulysses markup.</p>
<p>I just thought of one other thing. When you do the Quick Preview
in<br>
Ulysses, are you making sure you're sending Markdown and not
HTML?</p>
<p>-Brett</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/370047412015-06-01T22:16:41Z2015-06-01T22:16:41ZLine Breaks from Ulysses for Mac not working<div><p>Hi Brett,</p>
<p>OK, adding the line break BEFORE the first list item seemed to
fix things<br>
(mostly).</p>
<p>Here is the output with Ulysses preview on the left, Marked on
the right<br>
(marked using multi column style):[image: Inline image 1]</p>
<p>Here is the output with Marked using the Antique style which
renders with<br>
the problem still. Most of the other Marked styles seemed fine.
Again,<br>
Ulysses preview on the left:<br>
[image: Inline image 2]</p>
<p>Also, I was just able to purchase Marked for $9.99, so thank
you!</p>
<p>-Dennis</p></div>D Stag:support.markedapp.com,2011-09-11:Comment/370047412015-06-01T23:37:49Z2015-06-01T23:37:49ZLine Breaks from Ulysses for Mac not working<div><p>That's not creating a code block, though, the Antique style just
indents<br>
succeeding paragraphs in list items intentionally. You can always
modify<br>
that with a custom style or "Additional CSS" setting in Style<br>
preferences.</p>
<p>Glad the purchase price changed for you!</p>
<p>-Brett</p></div>Brett