dwp-forge / refnotes

4 stars 6 forks source link

H2 References #31

Closed ghost closed 5 years ago

ghost commented 8 years ago

How can I make when exist a note in a page to be automated an h2 for "References" , before the long line, before list start ?

Thanks

dwp-forge commented 8 years ago

Sorry, cannot I understand what you are trying to achieve. Could you rephrase the question?

ghost commented 8 years ago

Hy, Sorry I will try to make it more clear.

I suggest to make that plugin to add an "H2" with the text "Refernces" in the buttom o page above the links are dispayed. And to make it automatic when exist references on page.

Please take a look in the prt scrn. screen shot 2016-03-31 at 12 11 38 am copy

dwp-forge commented 8 years ago

Could be done, but this is going to simplify only one (though, likely, most common) use case. On the other hand, the implementation of such feature would need to take into account other use cases, so there would be required a number of configuration settings (e.g. on/off switch, heading level, localization, etc.)

Also the plugin was designed as a drop-in replacement of DokuWiki built-in footnotes. Its default behavior (using minimal syntax) tries to emulate the footnotes as close as possible. So enabling the heading would require extra syntax anyway and there would be not much to gain.

Given these pros and cons I don't think adding such a feature would be worthwhile.