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 block: add footnotes support #11849

Open
jjchrisdiehl opened this issue Jan 31, 2019 · 23 comments
Open

Markdown block: add footnotes support #11849

jjchrisdiehl opened this issue Jan 31, 2019 · 23 comments

Comments

@jjchrisdiehl
Copy link

@jjchrisdiehl jjchrisdiehl commented Jan 31, 2019

Issue

Markdown block does not render/hyperlink footnotes as it should

Steps to reproduce

Create a site on WordPress.com, or .org site with Jetpack (Markdown enabled in settings)
Add markdown block
Paste in footnote markdown
e.g-

I have more [^1] to say up here.  
[^1]: To say down here.

Preview/Publish

Expected Result

I expected something along the lines of https://www.markdownguide.org/extended-syntax/#footnotes

Actual Result

Seems to not render the footnote page jump links

WP.com
image

Jetpack site
image

@Robertght

This comment has been minimized.

Copy link

@Robertght Robertght commented Feb 1, 2019

Ref: 1762746-zen

@simison simison changed the title Gutenberg: Markdown block does not render footnotes Markdown block: add footnotes support Mar 4, 2019
@scruffian scruffian transferred this issue from Automattic/wp-calypso Apr 3, 2019
@jeherve

This comment has been minimized.

Copy link
Member

@jeherve jeherve commented Apr 3, 2019

Related: #325 for the Classic Markdown feature.

@liviopv

This comment has been minimized.

Copy link

@liviopv liviopv commented May 5, 2019

Another request 2003538-zen

@liviopv

This comment has been minimized.

Copy link

@liviopv liviopv commented May 5, 2019

Also, a non-markdown solution for Footnotes is being discussed in core Gutenberg WordPress/gutenberg#15267

@vincenzo

This comment has been minimized.

Copy link

@vincenzo vincenzo commented Jun 29, 2019

Any development here? Any workaround to still have footnotes working with Markdown?

@vincenzo

This comment has been minimized.

Copy link

@vincenzo vincenzo commented Jun 30, 2019

Should've complied with https://en.support.wordpress.com/markdown-quick-reference/ -- it's the link shown as "support reference" for the markdown block.

@jeherve

This comment has been minimized.

Copy link
Member

@jeherve jeherve commented Jul 3, 2019

Any development here? Any workaround to still have footnotes working with Markdown?

We have made no progress on this so far, but will update this issue when we do.

Should've complied with en.support.wordpress.com/markdown-quick-reference -- it's the link shown as "support reference" for the markdown block.

The Markdown block currently relies on a different flavor of Markdown, thus causing those inconsistencies. See #11881 to find out more.

@rickmgithub

This comment has been minimized.

Copy link

@rickmgithub rickmgithub commented Aug 19, 2019

Another one came up here today about footnotes - 2285644-zen

@KokkieH

This comment has been minimized.

Copy link

@KokkieH KokkieH commented Sep 8, 2019

Requested via Twitter

@adityabhaskar

This comment has been minimized.

Copy link

@adityabhaskar adityabhaskar commented Sep 18, 2019

I wonder if this is something related to this issue but the footnotes appear to have completely stopped appearing for non Blocks Editor, Jetpack-powered blogs.

Jetpack still seems to be parsing them but not publishing them—the footnote text was just removed from the published post.

@jeherve

This comment has been minimized.

Copy link
Member

@jeherve jeherve commented Sep 19, 2019

@adityabhaskar Could you paste an example of a footnote you've tried to add to a post using the Classic editor, and where that footnote was not displayed on the site?

Thank you.

@adityabhaskar

This comment has been minimized.

Copy link

@adityabhaskar adityabhaskar commented Sep 19, 2019

 - Love of a good dog[^1].

....

[^1]: Read as 'Love of a dog', _because they are all good dogs, Brant_.

It was on this post.

The footnote text was completely removed from the published post. For the moment, I have removed the square brackets marking the footnote to make it appear.


I just tested it again by adding the brackets to the footnote marker. The footnote was removed again.

I am using the classic editor in WordPress.com app for Mac

@jeherve

This comment has been minimized.

Copy link
Member

@jeherve jeherve commented Sep 20, 2019

It seems to work on my end:

screenshot 2019-09-20 at 16 00 00

screenshot 2019-09-20 at 15 59 52

Could you give it another try, but while composing your post from the text editor instead of the visual editor?

@adityabhaskar

This comment has been minimized.

Copy link

@adityabhaskar adityabhaskar commented Sep 20, 2019

Yes, it is working now.

I tested it by composing both from the text editor and the visual editor, and it worked. I even updated the reference post, and the footnote shows.

Thanks @jeherve !

@kosiew

This comment has been minimized.

Copy link

@kosiew kosiew commented Oct 5, 2019

Another case here - #2400283-zen.

There is no option to edit as Text in Classic Block.
Screen Shot 2019-10-05 at 15 02 02

@jeherve

This comment has been minimized.

Copy link
Member

@jeherve jeherve commented Oct 7, 2019

There is no option to edit as Text in Classic Block.

You can pick the "Code Editor" option in the block editor's sidebar:

image

@msilbers

This comment has been minimized.

Copy link

@msilbers msilbers commented Oct 30, 2019

Just experienced this issue and wanted to add some thoughts. It seems to me that Footnotes shouldn't require a markdown block, and previously worked by just enabling markdown on a site in the Writing Settings

When adding a footnote, people generally won't be including a whole paragraph or sentence as markdown text to show that way. It's not how it works in the classic editor.

@smithkyle45

This comment has been minimized.

Copy link

@smithkyle45 smithkyle45 commented Nov 27, 2019

Received another report of this issue in #16931073-hc

  • Footnotes not appearing within Markdown block
  • option enabled via WP Admin > Settings > Writing
@gwensmithx

This comment has been minimized.

Copy link

@gwensmithx gwensmithx commented Dec 6, 2019

Another instance of this on a Premium Site, markdown enabled. Tried markdown block, paragraph block, code block but couldn't get it to show the footnotes:

17152867-hc
Followup - 2542691-zd

@sourourn

This comment has been minimized.

Copy link

@sourourn sourourn commented Dec 20, 2019

Another one reported, user was unable to add footnotes. Markdown is enabled, tried paragraph block, markdown block, classic block but it did not work.

Chat: 17432713-HC
Follow-up: 2575189-zen

@fashuvo

This comment has been minimized.

Copy link

@fashuvo fashuvo commented Jan 1, 2020

Another user reported the issue. Markdown is enabled in wp-admin > Settings > Writing, but the footnote doesn't work in the block editor. Suggested them to use Page Jumps as an alternative for now.

Ticket: 2596298-zen

@mriyazuddin

This comment has been minimized.

Copy link

@mriyazuddin mriyazuddin commented Jan 12, 2020

Another user faced this issue here: 2625624-zen

@llune

This comment has been minimized.

Copy link

@llune llune commented Feb 16, 2020

I have the same issue! I'm using Jetpack on a self-hosted blog and the Markdown block but foonotes are not working.

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

Successfully merging a pull request may close this issue.

None yet
You can’t perform that action at this time.