Hi to everyone! This is my first post in this blog. I would like to know if there is a way to add footnotes to the article. I tried with both Markdown and HTML syntax, but they don’t work at all.
I also don’t know the address of the RSS feed of my blog (maybe this is a stupid question), and if you are programming to add an email alert for subscribers in case of new posts (like other platform as wordpress, etc.)
For your questions: what did you try when you were looking to add footnotes?
As for the RSS feed, you can find that by adding /feed/ to your blog URL, e.g. https://write.as/matt/feed/ or https://blog.writefreely.org/feed/. But most feed readers will automatically detect it if you give them your plain blog URL, because we include this information in your blog’s metadata.
This is main body of my content. I have a footnote link for this line [^1]
.....
.....
[^1]: Here is my footnote.
and:
This is main body of my content. I have a footnote link for this line <a href="#footnote-1">[1]</a>
.....
<p id="footnote-1">[1] Here is my footnote.</p>
It’s possible we’ll support them in the future. We’ve disabled them for now, because they break if you include footnotes and use the Excerpt / “Read more” feature in any given post.
If anyone is interested in working on a fix, that’s always welcome! Right now we simply truncate the post and render the markdown on the initial excerpt. To fix this, we’ll need to render the markdown based on the entire post, truncate it at the <!--more--> tag, and make sure the footnotes option in the writeas/saturday library is enabled.
Not having looked at the codebase, I could be way off base here. But if I’m understanding correctly, wouldn’t it be possible to just ignore any footnotes that appear in that initial pass, and then format them when the full page is rendered?
I have been recently playing around with using margin notes instead of footnotes. It uses all CSS and a little HTML. An example of it in use is here. Definitely looks funky on phones and when viewing from the blog home page. Maybe an alternative until extended Markdown comes in?
I am glad you like it @ASilentDiplomat! The CSS will work properly. My blog is actually on Write.as but I think the Custom CSS should work just fine on a WriteFreely instance also. Hope that clarifies things.