MMD FOOTER wrong position - possibly
I'm not sure if it a problem or a design choice but the footer is not always placed at the end of the document. If the MD file contains:
MD[^1]
[^1]: Markdown
The footer is placed before the definition of MD not after.
- footer_test.md 602 Bytes
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by fletcher on 09 Apr, 2018 12:51 PM
MultiMarkdown footer is just that - it's a section of MultiMarkdown text that is appended to the end of the MultiMarkdown *source* document. It may or may not end up at the end of the *output* document, as you note.
This is the correct behavior.
Fletcher
Sent from my iPhone
2 Posted by Max G on 09 Apr, 2018 01:22 PM
Thank you for the quick reply Fletcher.
The only problem is that if I want to add text at the very end of a web page, even including the footer as an external file would not address the issue. In my case, it is a copyright notice at the end of the file but it could be anything.
MMD FOOTER gives a useful compactness to the MD file putting the footer at the top. However, functionally, it usefulness is somehow limited. This is obviously my personal opinion - other people may see things in a completely different way.
Unfortunately, as you said, I have control only on the source. The "MMD Footer" would be a good way to extend the control beyond the source.
Perhaps a "HTML Footer" or simply "Footer" in the metadata section could address that. Just a thought...
Thanks!
P.S. I'm addicted to Multimarkdown. I'm recommend it to everybody who needs to publish HTML content. Without a doubt the best Markdown dialect/implementation I have seen.
Support Staff 3 Posted by fletcher on 09 Apr, 2018 04:28 PM
This gets into the edge cases that are best served by controlling the actual raw HTML(or LaTeX or whatever).
XSLT is useful in modifying HTML in specific ways like that, much like MultiMarkdown-CMS does.
It's outside the scope of MMD itself, which by definition will not be capable of every single thing that HTML, LaTeX, and the like can do.
Sent from my iPhone
fletcher closed this discussion on 02 May, 2018 12:08 AM.