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

Markdown: indentation in code within blockquote is moved outside blockquote #3379

Closed
suchipi opened this issue Dec 2, 2017 · 1 comment
Closed
Labels
lang:markdown Issues affecting Markdown locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. priority:high Code is printed in a way that alters the AST, breaks syntax, or is a significant regression. Urgent! status:has pr Issues with an accompanying pull request. These issues will probably be fixed soon! type:bug Issues identifying ugly output, or a defect in the program
Milestone

Comments

@suchipi
Copy link
Member

suchipi commented Dec 2, 2017

Prettier 1.8.2
Playground link

--parser markdown

Input:
Raw:

> NOTE: To use `unobtrusive`, `unobtrusive/import`, `unobtrusive/react`, and `unobtrusive/flowtype` together, your eslint config would look like this:
>```json
>{
>  "extends": [
>    "unobtrusive",
>    "unobtrusive/import",
>    "unobtrusive/react",
>    "unobtrusive/flowtype"
>  ],
>  "env": {
>    "browser": true
>  }
>}
>```

Rendered:


NOTE: To use unobtrusive, unobtrusive/import, unobtrusive/react, and unobtrusive/flowtype together, your eslint config would look like this:

{
 "extends": [
   "unobtrusive",
   "unobtrusive/import",
   "unobtrusive/react",
   "unobtrusive/flowtype"
 ],
 "env": {
   "browser": true
 }
}

Output:
Raw:

> NOTE: To use `unobtrusive`, `unobtrusive/import`, `unobtrusive/react`, and
> `unobtrusive/flowtype` together, your eslint config would look like this:
>
> ```json
> {
  > "extends": [
    > "unobtrusive",
    > "unobtrusive/import",
    > "unobtrusive/react",
    > "unobtrusive/flowtype"
  > ],
  > "env": {
    > "browser": true
  > }
> }
> ```

Rendered:


NOTE: To use unobtrusive, unobtrusive/import, unobtrusive/react, and
unobtrusive/flowtype together, your eslint config would look like this:

{
"extends": [
> "unobtrusive",
> "unobtrusive/import",
> "unobtrusive/react",
> "unobtrusive/flowtype"

],
"env": {
> "browser": true
}
}


Expected behavior:
Raw:

> NOTE: To use `unobtrusive`, `unobtrusive/import`, `unobtrusive/react`, and
> `unobtrusive/flowtype` together, your eslint config would look like this:
>
> ```json
> {
>   "extends": [
>     "unobtrusive",
>     "unobtrusive/import",
>     "unobtrusive/react",
>     "unobtrusive/flowtype"
>   ],
>   "env": {
>     "browser": true
>   }
> }
> ```

Rendered:


NOTE: To use unobtrusive, unobtrusive/import, unobtrusive/react, and
unobtrusive/flowtype together, your eslint config would look like this:

{
  "extends": [
    "unobtrusive",
    "unobtrusive/import",
    "unobtrusive/react",
    "unobtrusive/flowtype"
  ],
  "env": {
    "browser": true
  }
}

@suchipi suchipi added lang:markdown Issues affecting Markdown type:bug Issues identifying ugly output, or a defect in the program labels Dec 2, 2017
@ikatyang ikatyang added the priority:high Code is printed in a way that alters the AST, breaks syntax, or is a significant regression. Urgent! label Dec 3, 2017
@ikatyang ikatyang added the status:has pr Issues with an accompanying pull request. These issues will probably be fixed soon! label Dec 3, 2017
@azz azz added this to the 1.9 milestone Dec 3, 2017
@azz azz closed this as completed in #3383 Dec 4, 2017
@suchipi
Copy link
Member Author

suchipi commented Dec 4, 2017

Thanks @ikatyang!

@lock lock bot added the locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. label Jul 6, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Jul 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lang:markdown Issues affecting Markdown locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. priority:high Code is printed in a way that alters the AST, breaks syntax, or is a significant regression. Urgent! status:has pr Issues with an accompanying pull request. These issues will probably be fixed soon! type:bug Issues identifying ugly output, or a defect in the program
Projects
None yet
Development

No branches or pull requests

3 participants