Markdown Footnote mode Request.
-
Hi,
Your plugin seems really fine but for a markdown users it is useless as it need a shortcode and don’t use the Markdown generated footnotes.
Most Markdown users will be happy to have a mode that can add the qtip to footnotes created by the markdown parser so we won’t have to replace Markdown Extra footnotes with a wordpress specific shortcode.
Since it won’t use the shortcode, i think it would need to parse the content after the markdown processing, find the footnote call which is like this
<sup id="fnref-something"><a href="#fn-something" rel="footnote">1</a></sup>
then find the href #fn-something
<li id="fn-something">text of the footnote <a href="#fnref-something" rev="footnote">?</a> </li>
and inject the text of the footnote in a qtip attached to the footnote call.
The markdown syntax for footnotes are
Here is some text containing a footnote.[^somesamplefootnote] [^somesamplefootnote]: Here is the text of the footnote itself.
which will be resolve in Html as shown with a unique id created for each footnotes.
I don’t know if I explain well and how easy or not it is to done but it will be helpful to let people choose the mode of the plugin, either the classic mode for classic wordpress content or a markdown mode which don’t rely on the shortcode but just add the qtip to footnotes generated by the markdown parser.
If I really want to use the plugin, I will need to change all my markdown footnotes to use the shortcode instead, and my markdown won’t be usable other than in wordpress with the plugin unlike markdown footnotes which works in many markdown contexts.
I hope my explanation are clear and that it could be implemented in this plugin.
Best regards
- The topic ‘Markdown Footnote mode Request.’ is closed to new replies.