GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add newline between markdown footnote definitions by Atema · Pull Request #16063 · prettier/prettier

Conversation

@Atema

@Atema Atema commented Feb 8, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Description

Ensures there are newlines between markdown footnote definitions, to comply with the standard set by Pandoc (https://pandoc.org/MANUAL.html#footnotes):

Each footnote should be separated from surrounding content (including other footnotes) by blank lines.

Resolves #8301

Checklist

  • I’ve added tests to confirm my change works.
  • (If changing the API or CLI) I’ve documented the changes I’ve made (in the docs/ directory).
  • (If the change is user-facing) I’ve added my changes to changelog_unreleased/*/XXXX.md file following changelog_unreleased/TEMPLATE.md.
  • I’ve read the contributing guidelines.

✨Try the playground for this PR✨

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
fisker
fisker approved these changes May 10, 2024
View reviewed changes
@fisker

fisker commented May 10, 2024

Copy link
Copy Markdown
Member

Can you fix coflicts?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Atema added 2 commits May 24, 2024 17:18
@Atema
Add newline between markdown footnoteDefinitions
6c7c31f
@Atema
Add changelog (markdown: whitespace between footnotes)
78f8360
@Atema
Atema force-pushed the main branch from 2cdb5b8 to 78f8360 Compare May 24, 2024 15:19
@kachkaev

kachkaev commented May 24, 2024

Copy link
Copy Markdown
Member

@Atema can you please run Prettier for src/language-markdown/printer-markdown.js? CI is failing.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Atema
Fix formatting of markdown printer
37e5e9f
kachkaev
kachkaev approved these changes May 24, 2024
View reviewed changes

@kachkaev kachkaev left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Atema! 🙌
@fisker WDYT?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@fisker

fisker commented May 25, 2024

Copy link
Copy Markdown
Member

I've approved two weeks ago, 😄

kachkaev reacted with laugh emoji
All reactions
  • 😄 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@fisker
fisker merged commit 41f1dff into prettier:main May 25, 2024
@kachkaev kachkaev added this to the 3.3 milestone May 31, 2024
@data-sync-user data-sync-user mentioned this pull request Jun 3, 2024
Bump prettier from 3.2.5 to 3.3.0 MozillaFoundation/foundation.mozilla.org#12413
Closed
kurtinatlanta pushed a commit to kurtinatlanta/prettier that referenced this pull request Dec 27, 2025
@Atema @kurtinatlanta
Add newline between markdown footnote definitions (prettier#16063)
e79d8f8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@fisker fisker fisker approved these changes
@kachkaev kachkaev kachkaev approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

3.3

Development

Successfully merging this pull request may close these issues.

Whitespace is removed from between footnotes

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@Atema @fisker @kachkaev
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.