Markdown for footnotes – doesn't work
-
hi. I’m going completely out of my mind trying to add simple footnotes to my post. I’ve read all the fourms, instructions etc. i’ve activated markdown and it just simply doesn’t work. can someone help me please?.
it’s the Penscratch theme.The blog I need help with is: (visible only to logged in users)
-
Hi Stephen!
I see only one post (a draft) on your site currently using footnotes.
You were editing it at the moment I took a look, so I didn’t want to interfere. However, from my brief view it appeared you were not using the Markdown formatting for Footnotes shown here:
The key thing when using Markdown is to always use the Text Editor for your pages and posts.
Markdown was definitely enabled on your site correctly though. A made a small draft on your site so that you can see how the markdown formatting works:
https://steveransom.wordpress.com/wp-admin/post-new.php
Try viewing that post in the text editor and previewing it to see the results.
Best,
-Alex G.
-
Sorry! Bad link for the testing post I made for you. Here’s the better link:
http://ransomology.com/2014/12/19/markdown-testing/
It’s privately published, so just delete it whenever you’ve checked it out. :D
-Alex G.
-
Hi alex,
thanks for the email. No, I was not using markdown formatting becuase after spending way too much time on it I finally gave up and just stuck the footnotes at the bottom with coloured numbers in the body text.
Thanks for the sample and testing the configurations. I’ll try again.
Regards,
Steve -
Hi alex,
Still won’t work for me. If you are able to access my about page, you’ll see I’ve attempted to put one in there to test. It’s different to yours in that i don’t have a hyperlink in there, but i only need text. When i look at the published post, the [^1] is showing in the body text. It’s making me nuts.
Thanks,
Steve -
Hi Stephen!
The use of HTML elements in your text editor is interfering with the markdown styles. Markdown is a process whose output is HTML, but when it comes to block elements like div or p there can be some real struggles. In your page’s text editor, almost all your content is wrapped in p tags, paragraph elements, using the “style” attribute and those are interfering with Markdown styling.
To see what I’m saying, temporarily move your footnotes elements outside of the p tags, in their own sections and then preview.
To overcome this, since you have the Premium plan, I’d recommend removing your Inline styling, and adding this to your Custom CSS instead to get the text justification you want:
p { text-align: justify; }This will add your preferred text alignment style (after the Markdown has already been processed) but allow your footnotes to function correctly. I tried overcoming the style with other inline attributes, but I couldn’t make it work – thus, I believe that inline style attribute is the culprit in this case.
Best,
-Alex G.
- The topic ‘Markdown for footnotes – doesn't work’ is closed to new replies.