Skip to content
This repository has been archived by the owner on Nov 28, 2017. It is now read-only.

Inline code blocks are wrapped in tables before plain text #47

Closed
mnquintana opened this issue Apr 29, 2015 · 3 comments
Closed

Inline code blocks are wrapped in tables before plain text #47

mnquintana opened this issue Apr 29, 2015 · 3 comments

Comments

@mnquintana
Copy link

See https://github.com/atom/toggle-quotes/blob/mq-readme/README.md#configuration

toggle-quotes.quoteCharacters under Configuration Key Path is wrapping, but this is quite strange since there is enough leeway for the text under Description to wrap instead, if that makes sense.

@djch
Copy link

djch commented Apr 30, 2015

Definitely makes sense.

Adding white-space: nowrap seems to fix it, but I guess that begs the question, "should nowrap be scoped just to code inside tables or all code elements?".

It does seem a little awkward to be wrapping inline code snippets in general. I guess we'll leave that up to GitHub :octocat: .

@jonrohan
Copy link
Member

jonrohan commented Nov 3, 2015

The wrapping of inline <code> snippets is expected behavior. We don't wrap code blocks with triple ticks.

It doesn't seem this is happening on the toggle-quotes page anymore https://github.com/atom/toggle-quotes/blob/2c5a9dfabd17c90cca438bf42e4e6a758c241aaf/README.md#configuration So i'm closing this issue.

@jonrohan jonrohan closed this as completed Nov 3, 2015
@mnquintana
Copy link
Author

@jonrohan It's still wrapping for me on Chrome 46:
toggle-quotes_readme_md_at_2c5a9dfabd17c90cca438bf42e4e6a758c241aaf_ _atom_toggle-quotes

That makes sense, but I do get the same wrapping with triple ticks (if the code block is only one line, like it is here)

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

No branches or pull requests

3 participants