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

Blockquotes not wrapping properly. #343

Open
ghost opened this issue Jul 26, 2015 · 0 comments
Open

Blockquotes not wrapping properly. #343

ghost opened this issue Jul 26, 2015 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 26, 2015

In my JavaScript program I have a switch statement with cases testing for certain conditions.

One such case starts with a code block, and looks like this:

// I think that the only way to learn what a spherical coordinate system
// consists of is by quoting the
// [wikipedia article](https://en.wikipedia.org/wiki/Spherical_coordinate_system):
//
// > a spherical coordinate system is a coordinate system for
// > three-dimensional space where the position of a point is specified by
// > three numbers: the radial distance of that point from a fixed origin,
// > its polar angle measured from a fixed zenith direction, and the azimuth
// > angle of its orthogonal projection on a reference plane that passes
// > through the origin and is orthogonal to the zenith, measured from a
// > fixed reference direction on that plane.
//
case "Spherical":
  if (typeof config.r !== "number" ||
      typeof config.phi !== "number" ||
      typeof config.theta !== "number") {

When run through docco, this produces some funny output:

blockquotesindocco

As you can see, the lines within the blockquotes are wrapping where the newlines are within the source. They should not (to the best of my knowledge, at least).

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

0 participants