This comment has been minimized.
This comment has been minimized.Show comment Hide comment
I'll gladly merge your changes into my version to simplify things on the Jekyll plugins page, with proper credit to you of course. But I would like to understand your issue first, and I haven't been able to reproduce it. I'm running Jekyll 0.11.2.
Can you provide more detail such as error messages and your _references.md? Does it work better if you disable any other plugins you may have installed? Thanks!
Yes, really it happens. I guess it may be the problem I met before. This a Markdown code in tail of a file:
then your converter can't recognize references. If I put a newline, then it works right.
And I think if putting the appending process in MarkdownConverter may be better and clear. So I made my fix in my fork.
@spockz The plugin works on the markdown file level in such a way that it just concatenates _references.md to the end at every .md file it is about to process (it hooks into read_yaml).
For your use-case, we should instead hook into the Markdown class (convert method). That should be pretty straight-forward. Feel free to take a stab at it yourself (please poke me if so) - I may or may not get around to doing it myself.