hastyscribe icon indicating copy to clipboard operation
hastyscribe copied to clipboard

Support for footnotes

Open Hoffenbar opened this issue 3 years ago • 3 comments

Hello, I'Ve notice that this source code:

### Fußnoten

[^1]: In einer früheren Version wurde automatisch eine konfigurierbare Pausenzeit abgezogen von der Arbeitszeit, doch es stellte
sich heraus, daß dies aufgrund der vielen möglichen Varianten am Ende komplizierter oder fehlerträchtiger war als eine manuelle Pausenerfassung! 

is rendered to this:


<a name="Fußnoten"></a>
--
  | <h3>Fußnoten<a href="#document-top" title="Go to top"></a></h3>
  |  
  | <p>sich heraus, daß dies aufgrund der vielen möglichen Varianten am Ende komplizierter oder fehlerträchtiger war als eine manuelle Pausenerfassung!</p>
  | </div>
  | <div id="footer">
  | <p> April 2, 2021</p>
  | <p><span>Powered by</span> <a href="https://h3rald.com/hastyscribe"><span class="hastyscribe"></span></a></p>
  | </div>
  | </div>

The begining of the text is lost, it seems..... I thougt it was a linebreak after the first sentence, but after I removed that, nothing appears at all.... It seems that the whole paragraph gets eaten, maybe I'm missing some rules where to (not) put empty lines or so....

If I put the [^1]: on a line by itself, the text is fully rendered, but the number of the footnote gets lost.....

oops - meanwhile I figured out that hastyscribe does not support the footnote syntax at all.....

Hoffenbar avatar Apr 02 '21 15:04 Hoffenbar

Uhm... actually, although undocumented it seems, footnotes should work!

They seem to be supported in discount, the markdown parser HastyScribe is built upon, but to be honest I couldn't figure out from the official page whether they work properly on not: there seem to be contradicting statements on whether multiple paragraphs are supported or not, for example.

Did you try with simpler, one-line footnotes? No luck? I will experiment a bit.

h3rald avatar Apr 02 '21 19:04 h3rald

I've tried several variants, yet none of them succeeded.

Hoffenbar avatar Apr 04 '21 18:04 Hoffenbar

Yep no, I tried a few things and they don't seem to work work 😞.

h3rald avatar Jul 03 '21 12:07 h3rald