Skip to content
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

preview for code block #37

Open
pkra opened this issue Aug 4, 2011 · 4 comments
Open

preview for code block #37

pkra opened this issue Aug 4, 2011 · 4 comments

Comments

@pkra
Copy link

pkra commented Aug 4, 2011

I just noticed the following: if I do a markdown code block with 4 white spaces, the preview breaks: the text in the code block is displayed without any line break.

I can reproduce this reliably in two-pane mode, but in single window mode it is more erratic -- sometimes having a consecutive line in the paragraph prevents the code block and thereby the breaking...

@fbreuer
Copy link
Owner

fbreuer commented Aug 4, 2011

does this problem persist, if you save, close and reload the document? if
yes, could you provide a test case?

2011/8/3 pkra <
reply@reply.github.com>

I just noticed the following: if I do a markdown code block with 4 white
spaces, the preview breaks: the text in the code block is displayed without
any line break.

I can reproduce this reliably in two-pane mode, but in single window mode
it is more erratic -- sometimes having a consecutive line in the paragraph
prevents the code block and thereby the breaking...

Reply to this email directly or view it on GitHub:
#37

http://www.felixbreuer.net

@pkra
Copy link
Author

pkra commented Aug 4, 2011

Here's an example: copy and paste with the exact white space indentation

   Coming from $\LaTeX$ and its text-editor driven writing style, working with wordpress can seem a step back -- 
   after all, most people, if they get excited about $\TeX$, very much despise the wysiwyg approach to writing.

That's 7 spaces. The markdown-offical 4 do not work at all, it seems.

@fbreuer
Copy link
Owner

fbreuer commented Aug 4, 2011

hm, if i copy the above snippet, start qute, open a new file, paste and then
toggle the above block, i get a code block with proper line breaking. if i
do the same thing in split view, the line break is also at the correct
position - but the paragraph is too wide.

so, i cannot reproduce the problem you are seeing just yet (at least on
Windows). i will have to keep trying.

2011/8/4 pkra <
reply@reply.github.com>

Here's an example: copy and paste with the exact white space indentation

  Coming from $\LaTeX$ and its text-editor driven writing style,

working with wordpress can seem a step back --
after all, most people, if they get excited about $\TeX$, very much
despise the wysiwyg approach to writing.

Reply to this email directly or view it on GitHub:
#37 (comment)

http://www.felixbreuer.net

@pkra
Copy link
Author

pkra commented Aug 4, 2011

Hm. I send you some screenshots by email to show what it looks like on Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants